Main MRPT website > C++ reference for 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-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 
10 #include "slam-precomp.h" // Precompiled headerss
11 
13 
14 using namespace mrpt;
15 using namespace mrpt::utils;
16 using namespace mrpt::slam;
17 using namespace std;
18 
19 /*---------------------------------------------------------------
20  TMonteCarloLocalizationParams
21  ---------------------------------------------------------------*/
22 TMonteCarloLocalizationParams::TMonteCarloLocalizationParams()
23  : metricMap(nullptr), metricMaps(), KLD_params()
24 {
25 }
26 
29 {
30  *this = o;
31 }
32 
33 /** Copy operator: take care of knowing what you do, since this copies pointers.
34  */
37 {
38  metricMap = o.metricMap;
41  return *this;
42 }
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
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: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019