9 #ifndef CObservationStereoImagesFeatures_H
10 #define CObservationStereoImagesFeatures_H
24 std::pair<mrpt::img::TPixelCoordf, mrpt::img::TPixelCoordf>
pixels;
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
Structure to hold the parameters of a pinhole camera model.
Declares a class that represents any robot's observation.
Declares a class derived from "CObservation" that encapsules a pair of cameras and a set of matched i...
void setSensorPose(const mrpt::poses::CPose3D &newSensorPose) override
A general method to change the sensor pose on the robot in a mrpt::poses::CPose3D form.
std::vector< TStereoImageFeatures > theFeatures
Vectors of image feature pairs (with ID).
mrpt::poses::CPose3DQuat cameraPoseOnRobot
The pose of the LEFT camera, relative to the robot.
void getDescriptionAsText(std::ostream &o) const override
Build a detailed, multi-line textual description of the observation contents and dump it to the outpu...
void getSensorPose(mrpt::poses::CPose3D &out_sensorPose) const override
A general method to retrieve the sensor pose on the robot.
mrpt::poses::CPose3DQuat rightCameraPose
The pose of the right camera, relative to the left one: Note that for the Bumblebee stereo camera and...
void saveFeaturesToTextFile(const std::string &filename)
A method for storing the set of observed features in a text file in the format: ID ul vl ur vr be...
void setSensorPose(const mrpt::poses::CPose3DQuat &newSensorPose)
A general method to change the sensor pose on the robot in a CPose3DQuat form.
mrpt::img::TCamera cameraLeft
mrpt::img::TCamera cameraRight
CObservationStereoImagesFeatures(const mrpt::img::TCamera &cLeft, const mrpt::img::TCamera &cRight, const mrpt::poses::CPose3DQuat &rCPose, const mrpt::poses::CPose3DQuat &cPORobot)
Other constructor providing members initialization.
void getSensorPose(mrpt::poses::CPose3DQuat &out_sensorPose) const
CObservationStereoImagesFeatures()=default
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
A class used to store a 3D pose as a translation (x,y,z) and a quaternion (qr,qx,qy,...
GLsizei const GLchar ** string
This namespace contains representation of robot actions and observations.
std::pair< mrpt::img::TPixelCoordf, mrpt::img::TPixelCoordf > pixels