9 #ifndef CObservationRange_H
10 #define CObservationRange_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 range measurement,...
std::deque< TMeasurement >::const_iterator const_iterator
void getDescriptionAsText(std::ostream &o) const override
Build a detailed, multi-line textual description of the observation contents and dump it to the outpu...
CObservationRange()
Default constructor.
void setSensorPose(const mrpt::poses::CPose3D &newSensorPose) override
A general method to change the sensor pose on the robot.
float sensorConeApperture
Cone aperture of each ultrasonic beam, in radians.
TMeasurementList sensedData
All the measurements.
void getSensorPose(mrpt::poses::CPose3D &out_sensorPose) const override
A general method to retrieve the sensor pose on the robot.
const_iterator begin() const
std::deque< TMeasurement >::iterator iterator
const_iterator end() const
float minSensorDistance
The data members.
std::deque< TMeasurement > TMeasurementList
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
const Scalar * const_iterator
This namespace contains representation of robot actions and observations.
unsigned __int16 uint16_t
Lightweight 3D pose (three spatial coordinates, plus three angular coordinates).
uint16_t sensorID
Some kind of sensor ID which identifies it on the bus (if applicable, 0 otherwise)
math::TPose3D sensorPose
The 6D position of the sensor on the robot.
float sensedDistance
The measured range, in meters (or a value of 0 if there was no detected echo).