Main MRPT website > C++ reference
MRPT logo
TKLDParams.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-2014, 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 TKLDParams_H
10 #define TKLDParams_H
11 
13 
14 #include <mrpt/slam/link_pragmas.h>
15 
16 namespace mrpt
17 {
18  namespace slam
19  {
20  using namespace mrpt::utils;
21 
22  /** Option set for KLD algorithm. \ingroup mrpt_slam_grp
23  */
25  {
26  public:
27  TKLDParams();
28 
29  /** See utils::CLoadableOptions
30  */
31  void loadFromConfigFile(
32  const mrpt::utils::CConfigFileBase &source,
33  const std::string &section);
34 
35  /** See utils::CLoadableOptions
36  */
37  void dumpToTextStream(CStream &out) const;
38 
39 
40  /** Parameters for the KLD adaptive sample size algorithm (see Dieter Fox's papers), which is used only if the CParticleFilter is created with the "adaptiveSampleSize" flag set to true.
41  */
42  double KLD_binSize_XY, KLD_binSize_PHI,
43  KLD_delta, KLD_epsilon;
44 
45  /** Parameters for the KLD adaptive sample size algorithm (see Dieter Fox's papers), which is used only if the CParticleFilter is created with the "adaptiveSampleSize" flag set to true.
46  */
47  unsigned int KLD_minSampleSize, KLD_maxSampleSize;
48 
49  /** (Default: KLD_minSamplesPerBin=0) The minimum number of samples will be the maximum of KLD_minSampleSize and KLD_minSamplesPerBin * #ofBinsOccupied in the last time step */
51 
52  };
53 
54  } // End of namespace
55 } // End of namespace
56 
57 #endif
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
Definition: zip.h:16
Option set for KLD algorithm.
Definition: TKLDParams.h:24
This class allows loading and storing values and vectors of different types from a configuration text...
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
Definition: CStream.h:38
unsigned int KLD_minSampleSize
Parameters for the KLD adaptive sample size algorithm (see Dieter Fox's papers), which is used only i...
Definition: TKLDParams.h:47
double KLD_minSamplesPerBin
(Default: KLD_minSamplesPerBin=0) The minimum number of samples will be the maximum of KLD_minSampleS...
Definition: TKLDParams.h:50
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...



Page generated by Doxygen 1.8.8 for MRPT 1.2.2 SVN:Unversioned directory at Tue Oct 14 02:14:08 UTC 2014