Main MRPT website
>
C++ reference for MRPT 1.9.9
mrpt
hmtslam
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-2017, 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
12
#include <
mrpt/utils/CSerializable.h
>
13
14
#include <
mrpt/hmtslam/HMT_SLAM_common.h
>
15
#include <
mrpt/poses/CPose3DPDFParticles.h
>
16
#include <
mrpt/obs/CSensoryFrame.h
>
17
#include <
mrpt/maps/CSimpleMap.h
>
18
#include <
mrpt/maps/CMultiMetricMap.h
>
19
20
namespace
mrpt
21
{
22
namespace
hmtslam
23
{
24
/** Information kept for each robot pose used in CRobotPosesGraph */
25
struct
TPoseInfo
26
{
27
/** The observations */
28
mrpt::obs::CSensoryFrame
sf
;
29
/** The robot pose PDF */
30
mrpt::poses::CPose3DPDFParticles
pdf
;
31
};
32
33
/** Auxiliary class used in mrpt::slam::CLocalMetricHypothesis for HMT-SLAM;
34
* this class stores a set of robot poses and its sensory frames and pose PDF,
35
* for being stored in a HMT-map as a serializable object in annotation
36
* NODE_ANNOTATION_POSES_GRAPH.
37
* \ingroup mrpt_hmtslam_grp
38
*/
39
class
CRobotPosesGraph
:
public
mrpt::utils::CSerializable
,
40
public
std::map<TPoseID, TPoseInfo>
41
{
42
DEFINE_SERIALIZABLE
(
CRobotPosesGraph
)
43
public
:
44
/** Insert all the observations in the map (without erasing previous
45
* contents). */
46
void
insertIntoMetricMap
(
mrpt::maps::CMultiMetricMap
& metricMap)
const
;
47
48
/** Converts the contents of this object into a 'simplemap'
49
* (mrpt::maps::CSimpleMap) object. */
50
void
convertIntoSimplemap
(
mrpt::maps::CSimpleMap
& out_simplemap)
const
;
51
52
};
// end of class
53
54
}
// End of namespace
55
}
// End of namespace
56
#endif
CSerializable.h
mrpt::maps::CSimpleMap
This class stores a sequence of <Probabilistic Pose,SensoryFrame> pairs, thus a "metric map" can be t...
Definition:
CSimpleMap.h:35
mrpt::utils::CSerializable
The virtual base class which provides a unified interface for all persistent objects in MRPT...
Definition:
CSerializable.h:44
CSensoryFrame.h
mrpt::hmtslam::TPoseInfo::pdf
mrpt::poses::CPose3DPDFParticles pdf
The robot pose PDF.
Definition:
CRobotPosesGraph.h:30
mrpt::hmtslam::CRobotPosesGraph::insertIntoMetricMap
void insertIntoMetricMap(mrpt::maps::CMultiMetricMap &metricMap) const
Insert all the observations in the map (without erasing previous contents).
Definition:
CRobotPosesGraph.cpp:75
mrpt::hmtslam::CRobotPosesGraph::convertIntoSimplemap
void convertIntoSimplemap(mrpt::maps::CSimpleMap &out_simplemap) const
Converts the contents of this object into a 'simplemap' (mrpt::maps::CSimpleMap) object.
Definition:
CRobotPosesGraph.cpp:89
mrpt::obs::CSensoryFrame
Declares a class for storing a "sensory frame", a set of "observations" taken by the robot approximat...
Definition:
CSensoryFrame.h:54
mrpt::hmtslam::CRobotPosesGraph
Auxiliary class used in mrpt::slam::CLocalMetricHypothesis for HMT-SLAM; this class stores a set of r...
Definition:
CRobotPosesGraph.h:39
CSimpleMap.h
CPose3DPDFParticles.h
mrpt
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Definition:
CParticleFilter.h:17
DEFINE_SERIALIZABLE
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
Definition:
CSerializable.h:159
CMultiMetricMap.h
mrpt::hmtslam::TPoseInfo::sf
mrpt::obs::CSensoryFrame sf
The observations.
Definition:
CRobotPosesGraph.h:28
HMT_SLAM_common.h
mrpt::hmtslam::TPoseInfo
Information kept for each robot pose used in CRobotPosesGraph.
Definition:
CRobotPosesGraph.h:25
mrpt::maps::CMultiMetricMap
This class stores any customizable set of metric maps.
Definition:
CMultiMetricMap.h:141
mrpt::poses::CPose3DPDFParticles
Declares a class that represents a Probability Density function (PDF) of a 3D pose.
Definition:
CPose3DPDFParticles.h:31
Page generated by
Doxygen 1.8.14
for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019