#include <mrpt/hmtslam/CTopLCDetector_GridMatching.h>
◆ Ptr
◆ CTopLCDetector_GridMatching()
CTopLCDetector_GridMatching::CTopLCDetector_GridMatching |
( |
CHMTSLAM * |
hmtslam | ) |
|
|
protected |
◆ ~CTopLCDetector_GridMatching()
CTopLCDetector_GridMatching::~CTopLCDetector_GridMatching |
( |
| ) |
|
|
virtual |
◆ computeSSOBetweenObservations()
virtual bool mrpt::hmtslam::CTopLCDetectorBase::computeSSOBetweenObservations |
( |
const THypothesisID & |
hypID, |
|
|
const TPoseID & |
poseID1, |
|
|
const TPoseID & |
poseID2, |
|
|
double & |
out_SSO |
|
) |
| |
|
inlinevirtualinherited |
If implemented, this method provides the evaluation of an additional term to be added to the SSO between each pair of observations.
- Parameters
-
out_SSO | The output, in the range [0,1]. |
- Returns
- true if computed SSO is meaningful. The default virtual method returns false.
Definition at line 63 of file CTopLCDetectorBase.h.
References MRPT_UNUSED_PARAM.
◆ computeTopologicalObservationModel()
This method must compute the topological observation model.
- Parameters
-
out_log_lik | The output, a log-likelihood. |
- Returns
- nullptr, or a PDF of the estimated translation between the two areas (should be a SOG PDF): it's the pose of "refArea", relative to "currentArea".
- Parameters
-
out_log_lik | The output, a log-likelihood. |
- Returns
- nullptr, or a PDF of the estimated translation between the two areas (can be a multi-modal PDF).
Implements mrpt::hmtslam::CTopLCDetectorBase.
Definition at line 34 of file CTopLCDetector_GridMatching.cpp.
References mrpt::slam::CMetricMapsAlignmentAlgorithm::Align(), ASSERT_, CFileGZOutputStream, mrpt::system::createDirectory(), mrpt::utils::CLoadableOptions::dumpToConsole(), mrpt::format(), mrpt::slam::CGridMapAligner::TReturnInfo::icp_goodness_all_sog_modes, mrpt::slam::CGridMapAligner::TReturnInfo::landmarks_map1, mrpt::slam::CGridMapAligner::TReturnInfo::landmarks_map2, mrpt::hmtslam::CHMTSLAM::TOptions::LOG_OUTPUT_DIR, mrpt::hmtslam::CTopLCDetectorBase::m_hmtslam, mrpt::hmtslam::CHMTSLAM::m_options, mrpt::hmtslam::CTopLCDetector_GridMatching::TOptions::matchingOptions, NODE_ANNOTATION_METRIC_MAPS, mrpt::slam::CGridMapAligner::options, mrpt::utils::CStream::printf(), mrpt::utils::CStream::printf_vector(), mrpt::hmtslam::CHMTSLAM::saveState(), and mrpt::hmtslam::CHMTSLAM::TOptions::TLC_grid_options.
◆ createNewInstance()
◆ OnNewPose()
◆ reset()
virtual void mrpt::hmtslam::CTopLCDetectorBase::reset |
( |
| ) |
|
|
inlinevirtualinherited |
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 43 of file CTopLCDetectorBase.h.
◆ m_hmtslam
CHMTSLAM* mrpt::hmtslam::CTopLCDetectorBase::m_hmtslam |
|
protectedinherited |