MRPT  1.9.9
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-2018, 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 
16 #include <mrpt/obs/CSensoryFrame.h>
17 #include <mrpt/maps/CSimpleMap.h>
19 
20 namespace mrpt::hmtslam
21 {
22 /** Information kept for each robot pose used in CRobotPosesGraph */
23 struct TPoseInfo
24 {
25  /** The observations */
27  /** The robot pose PDF */
29 };
30 
31 /** Auxiliary class used in mrpt::slam::CLocalMetricHypothesis for HMT-SLAM;
32  * this class stores a set of robot poses and its sensory frames and pose PDF,
33  * for being stored in a HMT-map as a serializable object in annotation
34  * NODE_ANNOTATION_POSES_GRAPH.
35  * \ingroup mrpt_hmtslam_grp
36  */
38  public std::map<TPoseID, TPoseInfo>
39 {
41  public:
42  /** Insert all the observations in the map (without erasing previous
43  * contents). */
44  void insertIntoMetricMap(mrpt::maps::CMultiMetricMap& metricMap) const;
45 
46  /** Converts the contents of this object into a 'simplemap'
47  * (mrpt::maps::CSimpleMap) object. */
48  void convertIntoSimplemap(mrpt::maps::CSimpleMap& out_simplemap) const;
49 
50 }; // end of class
51 
52 }
53 #endif
54 
55 
This class stores a sequence of <Probabilistic Pose,SensoryFrame> pairs, thus a "metric map" can be t...
Definition: CSimpleMap.h:33
Classes related to the implementation of Hybrid Metric Topological (HMT) SLAM.
mrpt::poses::CPose3DPDFParticles pdf
The robot pose PDF.
void insertIntoMetricMap(mrpt::maps::CMultiMetricMap &metricMap) const
Insert all the observations in the map (without erasing previous contents).
void convertIntoSimplemap(mrpt::maps::CSimpleMap &out_simplemap) const
Converts the contents of this object into a &#39;simplemap&#39; (mrpt::maps::CSimpleMap) object.
Declares a class for storing a "sensory frame", a set of "observations" taken by the robot approximat...
Definition: CSensoryFrame.h:52
Auxiliary class used in mrpt::slam::CLocalMetricHypothesis for HMT-SLAM; this class stores a set of r...
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
mrpt::obs::CSensoryFrame sf
The observations.
The virtual base class which provides a unified interface for all persistent objects in MRPT...
Definition: CSerializable.h:30
Information kept for each robot pose used in CRobotPosesGraph.
This class stores any customizable set of metric maps.
Declares a class that represents a Probability Density function (PDF) of a 3D pose.



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020