26 mrpt::utils::CStream& out,
int* version)
const 38 out << it->first << it->second.sf << it->second.pdf;
56 for (i = 0; i < N; i++)
81 it->second.pdf.getMean(meanPose);
82 it->second.sf.insertObservationsInto(&metricMap, &meanPose);
89 void CRobotPosesGraph::convertIntoSimplemap(
CSimpleMap& out_simplemap)
const 91 out_simplemap.
clear();
94 out_simplemap.
insert(&it->second.pdf, it->second.sf);
This class stores a sequence of <Probabilistic Pose,SensoryFrame> pairs, thus a "metric map" can be t...
Classes related to the implementation of Hybrid Metric Topological (HMT) SLAM.
#define IMPLEMENTS_SERIALIZABLE(class_name, base, NameSpace)
This must be inserted in all CSerializable classes implementation files.
mrpt::poses::CPose3DPDFParticles pdf
The robot pose PDF.
EIGEN_STRONG_INLINE iterator begin()
const Scalar * const_iterator
uint64_t TPoseID
An integer number uniquely identifying each robot pose stored in HMT-SLAM.
void clear()
Clear the contents of this container.
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(__V)
For use in CSerializable implementations.
Auxiliary class used in mrpt::slam::CLocalMetricHypothesis for HMT-SLAM; this class stores a set of r...
Classes for 2D/3D geometry representation, both of single values and probability density distribution...
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).
mrpt::obs::CSensoryFrame sf
The observations.
Information kept for each robot pose used in CRobotPosesGraph.
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
This class stores any customizable set of metric maps.
void insert(const mrpt::poses::CPose3DPDF *in_posePDF, const mrpt::obs::CSensoryFrame &in_SF)
Add a new pair to the sequence.
unsigned __int32 uint32_t
void clear()
Remove all stored pairs.