9 #ifndef CObservationRange_H 10 #define CObservationRange_H 42 float minSensorDistance;
43 float maxSensorDistance;
44 float sensorConeApperture;
71 iterator
begin() {
return sensedData.begin(); }
72 iterator
end() {
return sensedData.end(); }
73 const_iterator
begin()
const {
return sensedData.begin(); }
74 const_iterator
end()
const {
return sensedData.end(); }
81 virtual void getDescriptionAsText(std::ostream &o)
const;
const_iterator begin() const
Declares a class derived from "CObservation" that encapsules a single range measurement, and associated parameters.
const_iterator end() const
const Scalar * const_iterator
std::deque< TMeasurement > TMeasurementList
std::deque< TMeasurement >::const_iterator const_iterator
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
float sensedDistance
The measured range, in meters (or a value of 0 if there was no detected echo).
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
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).
std::deque< TMeasurement >::iterator iterator
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
TMeasurementList sensedData
All the measurements.