Main MRPT website > C++ reference
MRPT logo
CRobotPosesGraph.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2014, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +---------------------------------------------------------------------------+ */
9 #ifndef CRobotPosesGraph_H
10 #define CRobotPosesGraph_H
11 
13 
17 #include <mrpt/slam/CSimpleMap.h>
19 
20 
21 namespace mrpt
22 {
23  namespace hmtslam
24  {
25  using namespace mrpt::slam;
26 
27  /** Information kept for each robot pose used in CRobotPosesGraph */
29  {
30  CSensoryFrame sf; //!< The observations
31  CPose3DPDFParticles pdf; //!< The robot pose PDF
32  };
33 
35 
36  /** Auxiliary class used in mrpt::slam::CLocalMetricHypothesis for HMT-SLAM; this class stores a set of robot poses and its sensory frames and pose PDF, for being stored in a HMT-map as a serializable object in annotation NODE_ANNOTATION_POSES_GRAPH.
37  * \ingroup mrpt_hmtslam_grp
38  */
39  class HMTSLAM_IMPEXP CRobotPosesGraph : public mrpt::utils::CSerializable, public std::map<TPoseID,TPoseInfo>
40  {
41  // This must be added to any CSerializable derived class:
43  public:
44 
45  /** Insert all the observations in the map (without erasing previous contents). */
46  void insertIntoMetricMap( CMultiMetricMap &metricMap ) const;
47 
48  /** Converts the contents of this object into a 'simplemap' (mrpt::slam::CSimpleMap) object. */
49  void convertIntoSimplemap( CSimpleMap &out_simplemap) const;
50 
51  }; // end of class
53 
54 
55  } // End of namespace
56 } // End of namespace
57 #endif
#define HMTSLAM_IMPEXP
This class stores any customizable set of metric maps.
The virtual base class which provides a unified interface for all persistent objects in MRPT...
Definition: CSerializable.h:35
STL namespace.
uint64_t TPoseID
An integer number uniquely identifying each robot pose stored in HMT-SLAM.
This namespace contains algorithms for SLAM, localization, map building, representation of robot's ac...
#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...
CSensoryFrame sf
The observations.
Auxiliary class used in mrpt::slam::CLocalMetricHypothesis for HMT-SLAM; this class stores a set of r...
This class stores a sequence of pairs, thus a "metric map" can be t...
Definition: CSimpleMap.h:34
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...
Declares a class for storing a "sensory frame", a set of "observations" taken by the robot approximat...
Definition: CSensoryFrame.h:53
Information kept for each robot pose used in CRobotPosesGraph.
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
Declares a class that represents a Probability Density function (PDF) of a 3D pose.
CPose3DPDFParticles pdf
The robot pose PDF.



Page generated by Doxygen 1.8.8 for MRPT 1.2.2 SVN:Unversioned directory at Tue Oct 14 02:14:08 UTC 2014