9 #ifndef _CTopLCDetectorBase_H
10 #define _CTopLCDetectorBase_H
63 const TPoseID& poseID2,
double& out_SSO)
82 using Ptr = std::shared_ptr<CTopLCDetectorBase>;
std::shared_ptr< CHMHMapNode > Ptr
An implementation of Hybrid Metric Topological SLAM (HMT-SLAM).
The virtual base class for Topological Loop-closure Detectors; used in HMT-SLAM.
virtual mrpt::poses::CPose3DPDF::Ptr computeTopologicalObservationModel(const THypothesisID &hypID, const CHMHMapNode::Ptr ¤tArea, const CHMHMapNode::Ptr &refArea, double &out_log_lik)=0
This method must compute the topological observation model.
CTopLCDetectorBase(CHMTSLAM *htmslam_obj)
Instances can be generated through a class factory only.
virtual void reset()
Reset the internal state of the TLCD, if any.
virtual void OnNewPose(const TPoseID &poseID, const mrpt::obs::CSensoryFrame *SF)
Hook method for being warned about the insertion of a new poses into the maps.
virtual ~CTopLCDetectorBase()
A class factory, to be implemented in derived classes.
virtual bool computeSSOBetweenObservations(const THypothesisID &hypID, const TPoseID &poseID1, const TPoseID &poseID2, double &out_SSO)
If implemented, this method provides the evaluation of an additional term to be added to the SSO betw...
std::shared_ptr< CTopLCDetectorBase > Ptr
Declares a class for storing a "sensory frame", a set of "observations" taken by the robot approximat...
std::shared_ptr< CPose3DPDF > Ptr
#define MRPT_UNUSED_PARAM(a)
Determines whether this is an X86 or AMD64 platform.
Classes related to the implementation of Hybrid Metric Topological (HMT) SLAM.
uint64_t TPoseID
An integer number uniquely identifying each robot pose stored in HMT-SLAM.
int64_t THypothesisID
An integer number uniquely identifying each of the concurrent hypotheses for the robot topological pa...