MRPT  1.9.9
TMonteCarloLocalizationParams.cpp
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2018, 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 
10 #include "slam-precomp.h" // Precompiled headerss
11 
13 
14 using namespace mrpt;
15 using namespace mrpt::slam;
16 using namespace std;
17 
18 /*---------------------------------------------------------------
19  TMonteCarloLocalizationParams
20  ---------------------------------------------------------------*/
22  : metricMap(nullptr), metricMaps(), KLD_params()
23 {
24 }
25 
28 {
29  *this = o;
30 }
31 
32 /** Copy operator: take care of knowing what you do, since this copies pointers.
33  */
36 {
37  metricMap = o.metricMap;
40  return *this;
41 }
The struct for passing extra simulation parameters to the prediction stage when running a particle fi...
STL namespace.
mrpt::maps::TMetricMapList metricMaps
[update stage] Alternative way (if metricMap==nullptr): A metric map is supplied for each particle: T...
mrpt::maps::CMetricMap * metricMap
[update stage] Must be set to a metric map used to estimate the likelihood of observations ...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
TMonteCarloLocalizationParams & operator=(const TMonteCarloLocalizationParams &o)
Copy operator: take care of knowing what you do, since this copies pointers.
TKLDParams KLD_params
Parameters for dynamic sample size, KLD method.



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020