Main MRPT website > C++ reference for MRPT 1.5.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(NULL),
24  metricMaps(),
25  KLD_params()
26 {
27 }
28 
30 {
31  *this = o;
32 }
33 
34 
35 /** Copy operator: take care of knowing what you do, since this copies pointers. */
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.
Definition: zip.h:16
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==NULL): A metric map is supplied for each particle: Ther...
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.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020