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(); }
80 void getSensorPose(
CPose3D &out_sensorPose )
const;
87 void setSensorPose(
const CPose3D &newSensorPose );
Declares a class derived from "CObservation" that encapsules a single range measurement, and associated parameters.
TMeasurementList sensedData
All the measurements.
const Scalar * 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...
const_iterator begin() const
Declares a class that represents any robot's observation.
std::deque< TMeasurement >::const_iterator const_iterator
std::deque< TMeasurement > TMeasurementList
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...
const_iterator end() const
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
std::deque< TMeasurement >::iterator iterator
Lightweight 3D pose (three spatial coordinates, plus three angular coordinates).
float sensedDistance
The measured range, in meters (or a value of 0 if there was no detected echo).
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
math::TPose3D sensorPose
The 6D position of the sensor on the robot.
uint16_t sensorID
Some kind of sensor ID which identifies it on the bus (if applicable, 0 otherwise) ...