9 #ifndef CObservationRange_H 10 #define CObservationRange_H const_iterator begin() const
Declares a class derived from "CObservation" that encapsules a single range measurement, and associated parameters.
unsigned __int16 uint16_t
const_iterator end() const
float minSensorDistance
The data members.
float sensorConeApperture
Cone aperture of each ultrasonic beam, in radians.
std::deque< TMeasurement >::const_iterator const_iterator
std::deque< TMeasurement > TMeasurementList
CObservationRange()
Default constructor.
float sensedDistance
The measured range, in meters (or a value of 0 if there was no detected echo).
This namespace contains representation of robot actions and observations.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
std::deque< TMeasurement >::iterator iterator
uint16_t sensorID
Some kind of sensor ID which identifies it on the bus (if applicable, 0 otherwise) ...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Declares a class that represents any robot's observation.
math::TPose3D sensorPose
The 6D position of the sensor on the robot.
Lightweight 3D pose (three spatial coordinates, plus three angular coordinates).
void setSensorPose(const mrpt::poses::CPose3D &newSensorPose) override
A general method to change 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...
void getSensorPose(mrpt::poses::CPose3D &out_sensorPose) const override
A general method to retrieve the sensor pose on the robot.
const Scalar * const_iterator
TMeasurementList sensedData
All the measurements.