Go to the documentation of this file.
26 #include <VisionX/interface/components/Calibration.h>
28 #include <RobotAPI/interface/components/RobotHealthInterface.h>
32 #include <Image/ImageProcessor.h>
33 #include <Calibration/Undistortion.h>
36 #include <rc_genicam_api/device.h>
37 #include <rc_genicam_api/stream.h>
38 #include <rc_genicam_api/imagelist.h>
77 virtual public visionx::StereoCalibrationCaptureProviderInterface,
89 return "RCImageProvider";
103 bool capture(
void** ppImageBuffers)
override;
117 return getProperty<std::string>(
"ReferenceFrameName").getValue();
127 void updateCameraSettings();
130 RobotHealthInterfacePrx robotHealthTopic;
133 bool enableDepth =
false;
135 double scan3dCoordinateScale = 1.0;
138 rcg::ImageList intensityBuffer;
139 rcg::ImageList disparityBuffer;
std::shared_ptr< rcg::Stream > StreamPtr
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
float frameRate
Required frame rate.
RCImageProviderPropertyDefinitions(std::string prefix)
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
This class contains common implementation for RCImageProvider and RCPointCloudProvider.
Brief description of class RCImageProvider.
visionx::StereoCalibration getStereoCalibration(const Ice::Current &c=Ice::emptyCurrent) override
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
void onStartCapturingImageProvider() override
This is called when the Component::onConnectComponent() setup is called.
bool getImagesAreUndistorted(const Ice::Current &c=Ice::emptyCurrent) override
The CapturingImageProvider provides a callback function to trigger the capturing of images with diffe...
visionx::StereoCalibration stereoCalibration
std::shared_ptr< rcg::Device > DevicePtr
void onStartCapture(float frameRate) override
This is called when the image provider capturing has been started.
std::string getReferenceFrame(const Ice::Current &c=Ice::emptyCurrent) override
void onStopCapture() override
This is called when the image provider capturing has been stopped.
Default component property definition container.
This file offers overloads of toIce() and fromIce() functions for STL container types.