Class CObservationComment

Inheritance Relationships

Base Type

Class Documentation

class CObservationComment : public mrpt::obs::CObservation

This “observation” is actually a placeholder for a text block with comments or additional parameters attached to a given rawlog file. There should be only one of this observations in a rawlog file, and it’s recommended to insert/modify them from the application RawlogViewer.

See also

CObservation

Public Functions

inline CObservationComment()

Constructor.

~CObservationComment() override = default

Destructor

inline virtual void getSensorPose(mrpt::poses::CPose3D&) const override

A general method to retrieve the sensor pose on the robot. Note that most sensors will return a full (6D) CPose3D, but see the derived classes for more details or special cases.

See also

setSensorPose

inline virtual void setSensorPose(const mrpt::poses::CPose3D&) override

A general method to change the sensor pose on the robot. Note that most sensors will use the full (6D) CPose3D, but see the derived classes for more details or special cases.

See also

getSensorPose

virtual void getDescriptionAsText(std::ostream &o) const override

Build a detailed, multi-line textual description of the observation contents and dump it to the output stream.

Note

If overried by derived classes, call base CObservation::getDescriptionAsText() first to show common information.

Note

This is the text that appears in RawLogViewer when selecting an object in the dataset

Public Members

std::string text

The text block.