Main MRPT website > C++ reference for MRPT 1.9.9
List of all members | Public Member Functions | Protected Attributes | Friends
mrpt::hmtslam::CLSLAMAlgorithmBase Class Referenceabstract

Detailed Description

Virtual base for local SLAM methods, used in mrpt::slam::CHMTSLAM.

Definition at line 511 of file CHMTSLAM.h.

#include <mrpt/hmtslam/CHMTSLAM.h>

Inheritance diagram for mrpt::hmtslam::CLSLAMAlgorithmBase:
Inheritance graph

Public Member Functions

 CLSLAMAlgorithmBase (CHMTSLAM *parent)
 Constructor. More...
 
virtual ~CLSLAMAlgorithmBase ()
 Destructor. More...
 
virtual void processOneLMH (CLocalMetricHypothesis *LMH, const mrpt::obs::CActionCollection::Ptr &act, const mrpt::obs::CSensoryFrame::Ptr &sf)=0
 Main entry point from HMT-SLAM: process some actions & observations. More...
 

Protected Attributes

mrpt::utils::safe_ptr< CHMTSLAMm_parent
 

Friends

class CLocalMetricHypothesis
 

Constructor & Destructor Documentation

◆ CLSLAMAlgorithmBase()

mrpt::hmtslam::CLSLAMAlgorithmBase::CLSLAMAlgorithmBase ( CHMTSLAM parent)
inline

Constructor.

Definition at line 521 of file CHMTSLAM.h.

◆ ~CLSLAMAlgorithmBase()

virtual mrpt::hmtslam::CLSLAMAlgorithmBase::~CLSLAMAlgorithmBase ( )
inlinevirtual

Destructor.

Definition at line 524 of file CHMTSLAM.h.

Member Function Documentation

◆ processOneLMH()

virtual void mrpt::hmtslam::CLSLAMAlgorithmBase::processOneLMH ( CLocalMetricHypothesis LMH,
const mrpt::obs::CActionCollection::Ptr act,
const mrpt::obs::CSensoryFrame::Ptr sf 
)
pure virtual

Main entry point from HMT-SLAM: process some actions & observations.

The passed action/observation will be deleted, so a copy must be made if necessary. This method must be in charge of updating the robot pose estimates and also to update the map when required.

Parameters
LMHThe local metric hypothesis which must be updated by this SLAM algorithm.
actThe action to process (or nullptr).
sfThe observations to process (or nullptr).

Implemented in mrpt::hmtslam::CLSLAM_RBPF_2DLASER.

Friends And Related Function Documentation

◆ CLocalMetricHypothesis

friend class CLocalMetricHypothesis
friend

Definition at line 513 of file CHMTSLAM.h.

Member Data Documentation

◆ m_parent

mrpt::utils::safe_ptr<CHMTSLAM> mrpt::hmtslam::CLSLAMAlgorithmBase::m_parent
protected



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