30#include <RobotAPI/interface/components/RobotHealthInterface.h>
33#include <VisionX/interface/components/Calibration.h>
36#include <Calibration/Undistortion.h>
37#include <Image/ImageProcessor.h>
38#include <rc_genicam_api/device.h>
39#include <rc_genicam_api/imagelist.h>
40#include <rc_genicam_api/stream.h>
76 virtual public visionx::StereoCalibrationCaptureProviderInterface,
88 return "RCImageProvider";
102 bool capture(
void** ppImageBuffers)
override;
104 visionx::StereoCalibration
127 void updateCameraSettings();
130 RobotHealthInterfacePrx robotHealthTopic;
133 bool enableDepth =
false;
135 double scan3dCoordinateScale = 1.0;
138 rcg::ImageList intensityBuffer;
139 rcg::ImageList disparityBuffer;
Default component property definition container.
Property< PropertyType > getProperty(const std::string &name)
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
RCImageProviderPropertyDefinitions(std::string prefix)
std::string getReferenceFrame(const Ice::Current &c=Ice::emptyCurrent) override
visionx::StereoCalibration getStereoCalibration(const Ice::Current &c=Ice::emptyCurrent) override
void onStartCapture(float frameRate) override
This is called when the image provider capturing has been started.
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onStartCapturingImageProvider() override
This is called when the Component::onConnectComponent() setup is called.
bool getImagesAreUndistorted(const Ice::Current &c=Ice::emptyCurrent) override
void onStopCapture() override
This is called when the image provider capturing has been stopped.
void onExitCapturingImageProvider() override
This is called when the Component::onExitComponent() setup is called.
void onInitCapturingImageProvider() override
This is called when the Component::onInitComponent() is called.
std::string getDefaultName() const override
The CapturingImageProvider provides a callback function to trigger the capturing of images with diffe...
float frameRate
Required frame rate.
This class contains common implementation for RCImageProvider and RCPointCloudProvider.
visionx::StereoCalibration stereoCalibration
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
std::shared_ptr< rcg::Stream > StreamPtr
std::shared_ptr< rcg::Device > DevicePtr