Main MRPT website > C++ reference for MRPT 1.9.9
CLocalMetricHypothesis_impl.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 #ifndef CLocalMetricHypothesis_impl_H
10 #define CLocalMetricHypothesis_impl_H
11 
14 namespace mrpt
15 {
16 namespace hmtslam
17 {
18 template <class PF_ALGORITHM>
20  const mrpt::obs::CActionCollection* action,
21  const mrpt::obs::CSensoryFrame* observation,
23 {
24  ASSERT_(m_parent.get());
25  ASSERT_(m_parent->m_LSLAM_method);
26  m_parent->m_LSLAM_method->prediction_and_update<PF_ALGORITHM>(
27  this, action, observation, PF_options);
28 }
29 
30 } // namespace hmtslam
31 } // namespace mrpt
32 #endif
This file contains the implementations of the template members declared in mrpt::slam::PF_implementat...
void prediction_and_update(const mrpt::obs::CActionCollection *action, const mrpt::obs::CSensoryFrame *observation, const bayes::CParticleFilter::TParticleFilterOptions &PF_options)
The PF algorithm implementation.
mrpt::utils::safe_ptr< CHMTSLAM > m_parent
For quick access to our parent object.
Declares a class for storing a collection of robot actions.
Declares a class for storing a "sensory frame", a set of "observations" taken by the robot approximat...
Definition: CSensoryFrame.h:55
#define ASSERT_(f)
Definition: mrpt_macros.h:309
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
The configuration of a particle filter.



Page generated by Doxygen 1.9.1 for MRPT 1.9.9 Git: 63ea9d1f1 Thu Nov 23 00:06:53 2017 +0100 at mar 26 may 2026 12:19:29 CEST