17 class CObservation3DRangeScan;
72 void load()
const override;
void load() const override
Makes sure all images and other fields which may be externally stored are loaded in memory...
An observation from any sensor that can be summarized as a pointcloud.
void overrideExternalStorageFormatFlag(const ExternalStorageFormat fmt)
A range or depth 3D scan measurement, as from a time-of-flight range camera or a structured-light dep...
void setSensorPose(const mrpt::poses::CPose3D &p) override
A general method to change the sensor pose on the robot.
mrpt::poses::CPose3D sensorPose
Sensor placement wrt the vehicle/robot.
ExternalStorageFormat m_externally_stored
void unload() override
Unload all images, for the case they being delayed-load images stored in external files (othewise...
This namespace contains representation of robot actions and observations.
std::string m_external_file
void getSensorPose(mrpt::poses::CPose3D &out_sensorPose) const override
A general method to retrieve the sensor pose on the robot.
mrpt::maps::CPointsMap::Ptr pointcloud
The pointcloud.
bool isExternallyStored() const
void setAsExternalStorage(const std::string &fileName, const ExternalStorageFormat fmt)
Plain text, each line has "x y z [i]" coords.
Uses Kitti .bin file format.
is always stored in memory
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Declares a class that represents any robot's observation.
Uses mrpt-serialization binary file.
CObservationPointCloud()=default
#define DEFINE_SERIALIZABLE(class_name, NS)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
void getDescriptionAsText(std::ostream &o) const override
Build a detailed, multi-line textual description of the observation contents and dump it to the outpu...
const std::string & getExternalStorageFile() const