10 #define COBSERVATION_H 30 namespace math {
struct TPose3D; }
36 using namespace poses;
41 #define INVALID_LANDMARK_ID (-1) 46 #define INVALID_BEACON_ID (-1) 101 template <
class METRICMAP>
104 return theMap->insertObservation(
this,robotPose);
111 virtual void getSensorPose(
CPose3D &out_sensorPose )
const = 0;
123 virtual void setSensorPose(
const CPose3D &newSensorPose ) = 0;
uint64_t TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1...
mrpt::system::TTimeStamp timestamp
The associated time-stamp.
The virtual base class which provides a unified interface for all persistent objects in MRPT...
virtual void unload()
Unload all images, for the case they being delayed-load images stored in external files (othewise...
#define DEFINE_VIRTUAL_SERIALIZABLE(class_name)
This declaration must be inserted in virtual CSerializable classes definition:
#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...
Declares a class that represents any robot's observation.
std::string sensorLabel
An arbitrary label that can be used to identify the sensor.
bool insertObservationInto(METRICMAP *theMap, const CPose3D *robotPose=NULL) const
This method is equivalent to:
virtual void load() const
Makes sure all images and other fields which may be externally stored are loaded in memory...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Lightweight 3D pose (three spatial coordinates, plus three angular coordinates).