9 #ifndef HMT_SLAM_common_H
10 #define HMT_SLAM_common_H
16 #define COMMON_TOPOLOG_HYP static_cast<THypothesisID>(0)
18 #define NODE_ANNOTATION_METRIC_MAPS "metricMaps"
19 #define NODE_ANNOTATION_REF_POSEID "refPoseID"
20 #define NODE_ANNOTATION_POSES_GRAPH "posesGraph"
22 #define NODE_ANNOTATION_PLACE_POSE "placePose"
24 #define ARC_ANNOTATION_DELTA \
27 #define ARC_ANNOTATION_DELTA_SRC_POSEID \
29 #define ARC_ANNOTATION_DELTA_TRG_POSEID \
33 #define ARC_TYPES "Membership,Navegability,RelativePose,Location"
34 #define DEFAULT_ARC_TYPE "Membership"
37 #define NODE_TYPES "Place,Area,TopologicalMap,Object"
38 #define DEFAULT_NODE_TYPE "Place"
41 #define POSEID_INVALID static_cast<TPoseID>(-1)
43 #define AREAID_INVALID static_cast<uint64_t>(-1)
45 #define MSG_SOURCE_LSLAM 1
46 #define MSG_SOURCE_AA 2
77 public std::set<THypothesisID>
105 std::shared_ptr<mrpt::hmtslam::CHMHMapArc>>
109 std::shared_ptr<mrpt::hmtslam::CHMHMapArc>>;
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
#define COMMON_TOPOLOG_HYP
This class implements a STL container with features of both, a std::set and a std::list.
A class for storing a sequence of arcs (a path).
void read(mrpt::serialization::CArchive &in)
void write(mrpt::serialization::CArchive &out) const
A set of hypothesis IDs, used for arcs and nodes in multi-hypothesis hybrid maps.
bool has(const THypothesisID &val) const
Returns true if the hypothesis is into the set.
void debugDump() const
Dump to console.
THypothesisIDSet()
Default constructor.
THypothesisIDSet(const THypothesisID &val)
Constructor with one initial element.
virtual ~THypothesisIDSet()
Virtual base class for "archives": classes abstracting I/O streams.
The virtual base class which provides a unified interface for all persistent objects in MRPT.
const_iterator find(const KEY &key) const
Classes related to the implementation of Hybrid Metric Topological (HMT) SLAM.
std::vector< TPoseID > TPoseIDList
uint64_t TPoseID
An integer number uniquely identifying each robot pose stored in HMT-SLAM.
std::pair< TPoseID, TPoseID > TPairPoseIDs
std::set< TPoseID > TPoseIDSet
int64_t THypothesisID
An integer number uniquely identifying each of the concurrent hypotheses for the robot topological pa...
unsigned __int64 uint64_t