Main MRPT website
>
C++ reference for MRPT 1.9.9
slam
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
12
#include <
mrpt/slam/TMonteCarloLocalizationParams.h
>
13
14
using namespace
mrpt
;
15
using namespace
mrpt::slam
;
16
using namespace
std;
17
18
/*---------------------------------------------------------------
19
TMonteCarloLocalizationParams
20
---------------------------------------------------------------*/
21
TMonteCarloLocalizationParams::TMonteCarloLocalizationParams
()
22
: metricMap(nullptr), metricMaps(), KLD_params()
23
{
24
}
25
26
TMonteCarloLocalizationParams::TMonteCarloLocalizationParams
(
27
const
TMonteCarloLocalizationParams
& o)
28
{
29
*
this
= o;
30
}
31
32
/** Copy operator: take care of knowing what you do, since this copies pointers.
33
*/
34
TMonteCarloLocalizationParams
&
TMonteCarloLocalizationParams::operator=
(
35
const
TMonteCarloLocalizationParams
& o)
36
{
37
metricMap
= o.
metricMap
;
38
metricMaps
= o.
metricMaps
;
39
KLD_params
= o.
KLD_params
;
40
return
*
this
;
41
}
mrpt::slam::TMonteCarloLocalizationParams::metricMaps
mrpt::maps::TMetricMapList metricMaps
[update stage] Alternative way (if metricMap==nullptr): A metric map is supplied for each particle: T...
Definition:
TMonteCarloLocalizationParams.h:47
TMonteCarloLocalizationParams.h
mrpt
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Definition:
CKalmanFilterCapable.h:30
mrpt::slam::TMonteCarloLocalizationParams::operator=
TMonteCarloLocalizationParams & operator=(const TMonteCarloLocalizationParams &o)
Copy operator: take care of knowing what you do, since this copies pointers.
Definition:
TMonteCarloLocalizationParams.cpp:34
slam-precomp.h
mrpt::slam::TMonteCarloLocalizationParams
The struct for passing extra simulation parameters to the prediction stage when running a particle fi...
Definition:
TMonteCarloLocalizationParams.h:23
mrpt::slam::TMonteCarloLocalizationParams::metricMap
mrpt::maps::CMetricMap * metricMap
[update stage] Must be set to a metric map used to estimate the likelihood of observations
Definition:
TMonteCarloLocalizationParams.h:41
mrpt::slam::TMonteCarloLocalizationParams::TMonteCarloLocalizationParams
TMonteCarloLocalizationParams()
Default settings method.
Definition:
TMonteCarloLocalizationParams.cpp:21
mrpt::slam
Definition:
CMultiMetricMapPDF.h:27
mrpt::slam::TMonteCarloLocalizationParams::KLD_params
TKLDParams KLD_params
Parameters for dynamic sample size, KLD method.
Definition:
TMonteCarloLocalizationParams.h:50
Page generated by
Doxygen 1.8.17
for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST