33 #include <VisionX/interface/components/Calibration.h>
34 #include <VisionX/interface/core/DataTypes.h>
37 #include <VirtualRobot/Robot.h>
38 #include <VirtualRobot/Visualization/CoinVisualization/CoinVisualizationFactory.h>
43 #include <ArmarXSimulation/interface/simulator/SimulatorInterface.h>
45 #include <Calibration/StereoCalibration.h>
46 #include <Image/ByteImage.h>
57 defineOptionalProperty<float>(
"FrameRate", 30.0f,
"Frames per second")
58 .setMatchRegex(
"\\d+(.\\d*)?")
61 defineOptionalProperty<visionx::ImageDimension>(
63 visionx::ImageDimension(640, 480),
64 "Target resolution of the images. Captured images will be converted to this size.")
65 .setCaseInsensitive(
true)
66 .map(
"320x240", visionx::ImageDimension(320, 240))
67 .map(
"640x480", visionx::ImageDimension(640, 480))
68 .map(
"800x600", visionx::ImageDimension(800, 600))
69 .map(
"768x576", visionx::ImageDimension(768, 576))
70 .map(
"1024x768", visionx::ImageDimension(1024, 768))
71 .map(
"1280x960", visionx::ImageDimension(1280, 960))
72 .map(
"1600x1200", visionx::ImageDimension(1600, 1200))
73 .map(
"none", visionx::ImageDimension(0, 0));
75 defineOptionalProperty<std::string>(
"RobotName",
"Armar3",
"The robot");
76 defineOptionalProperty<std::string>(
"RobotNodeLeftCamera",
78 "The coordinate system of the left camera");
79 defineOptionalProperty<std::string>(
"RobotNodeRightCamera",
81 "The coordinate system of the right camera");
82 defineOptionalProperty<std::string>(
85 "Camera calibration file, will be made available in the SLICE interface");
86 defineOptionalProperty<std::string>(
89 "Reference frame in the robot model of this stereo camera system.");
105 virtual public visionx::StereoCalibrationCaptureProviderInterface
111 return "DynamicSimulationImageProvider";
136 bool capture(
void** ppImageBuffers)
override;
144 visionx::StereoCalibration
153 std::string
getReferenceFrame(const ::Ice::Current& = Ice::emptyCurrent)
override;
165 props->defineOptionalProperty<
float>(
"focalLength", 600,
"The focal length.");
206 const std::string& cameraSensorNameLeft,
207 const std::string& cameraSensorNameRight);