MRPT
1.9.9
|
The virtual base class for Topological Loop-closure Detectors; used in HMT-SLAM.
Definition at line 23 of file CTopLCDetectorBase.h.
#include <mrpt/hmtslam/CTopLCDetectorBase.h>
Public Types | |
using | Ptr = std::shared_ptr< CTopLCDetectorBase > |
Public Member Functions | |
virtual | ~CTopLCDetectorBase ()=default |
A class factory, to be implemented in derived classes. More... | |
virtual void | reset () |
Reset the internal state of the TLCD, if any. More... | |
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. More... | |
virtual bool | computeSSOBetweenObservations ([[maybe_unused]] const THypothesisID &hypID, [[maybe_unused]] const TPoseID &poseID1, [[maybe_unused]] const TPoseID &poseID2, [[maybe_unused]] double &out_SSO) |
If implemented, this method provides the evaluation of an additional term to be added to the SSO between each pair of observations. More... | |
virtual void | OnNewPose ([[maybe_unused]] const TPoseID &poseID, [[maybe_unused]] const mrpt::obs::CSensoryFrame *SF) |
Hook method for being warned about the insertion of a new poses into the maps. More... | |
Protected Member Functions | |
CTopLCDetectorBase (CHMTSLAM *htmslam_obj) | |
Instances can be generated through a class factory only. More... | |
Protected Attributes | |
CHMTSLAM * | m_hmtslam |
Definition at line 79 of file CTopLCDetectorBase.h.
|
inlineprotected |
Instances can be generated through a class factory only.
Definition at line 29 of file CTopLCDetectorBase.h.
|
virtualdefault |
A class factory, to be implemented in derived classes.
Destructor
|
inlinevirtual |
If implemented, this method provides the evaluation of an additional term to be added to the SSO between each pair of observations.
out_SSO | The output, in the range [0,1]. |
Definition at line 61 of file CTopLCDetectorBase.h.
|
pure virtual |
This method must compute the topological observation model.
out_log_lik | The output, a log-likelihood. |
Implemented in mrpt::hmtslam::CTopLCDetector_GridMatching, and mrpt::hmtslam::CTopLCDetector_FabMap.
|
inlinevirtual |
Hook method for being warned about the insertion of a new poses into the maps.
This should be independent of hypothesis IDs.
Definition at line 74 of file CTopLCDetectorBase.h.
|
inlinevirtual |
Reset the internal state of the TLCD, if any.
This is needed since the objects are created while loading HMT-SLAM options, but the algorithm may be re-started after that at any time.
Definition at line 41 of file CTopLCDetectorBase.h.
|
protected |
Definition at line 26 of file CTopLCDetectorBase.h.
Referenced by mrpt::hmtslam::CTopLCDetector_GridMatching::computeTopologicalObservationModel(), and mrpt::hmtslam::CTopLCDetector_FabMap::CTopLCDetector_FabMap().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020 |