9 #ifndef CObservationReflectivity_H
10 #define CObservationReflectivity_H
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
Declares a class that represents any robot's observation.
Declares a class derived from "CObservation" that encapsules a single short-range reflectivity measur...
virtual ~CObservationReflectivity()
void getSensorPose(mrpt::poses::CPose3D &out_sensorPose) const override
A general method to retrieve the sensor pose on 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...
mrpt::poses::CPose3D sensorPose
The pose of this sensor in robot's local coordinates.
CObservationReflectivity()
Default constructor.
void setSensorPose(const mrpt::poses::CPose3D &newSensorPose) override
A general method to change the sensor pose on the robot.
float sensorStdNoise
1-sigma of the sensor Gaussian noise (in the same normalized units than reflectivityLevel)
int16_t channel
The channel for this observation.
float reflectivityLevel
The read reflectivity level, in the range [0,1] (0=black, 1=white).
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.