A set of TMetricMapInitializer structures, passed to the constructor CMultiMetricMap::CMultiMetricMap See the comments for TSetOfMetricMapInitializers::loadFromConfigFile, and "CMultiMetricMap::setListOfMaps" for effectively creating the list of desired maps.
Definition at line 71 of file TMetricMapInitializer.h.
#include <mrpt/maps/TMetricMapInitializer.h>
Public Types | |
typedef std::deque< TMetricMapInitializerPtr >::iterator | iterator |
typedef std::deque< TMetricMapInitializerPtr >::const_iterator | const_iterator |
Public Member Functions | |
TSetOfMetricMapInitializers () | |
template<typename MAP_DEFINITION > | |
void | push_back (const MAP_DEFINITION &o) |
void | push_back (const TMetricMapInitializerPtr &o) |
size_t | size () const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
void | clear () |
void | loadFromConfigFile (const mrpt::utils::CConfigFileBase &source, const std::string §ionName) MRPT_OVERRIDE |
Loads the configuration for the set of internal maps from a textual definition in an INI-like file. More... | |
void | dumpToTextStream (mrpt::utils::CStream &out) const MRPT_OVERRIDE |
This method dumps the options of the multi-metric map AND those of every internal map. More... | |
void | loadFromConfigFileName (const std::string &config_file, const std::string §ion) |
Behaves like loadFromConfigFile, but you can pass directly a file name and a temporary CConfigFile object will be created automatically to load the file. More... | |
virtual void | saveToConfigFile (mrpt::utils::CConfigFileBase &target, const std::string §ion) const |
This method saves the options to a ".ini"-like file or memory-stored string list. More... | |
void | saveToConfigFileName (const std::string &config_file, const std::string §ion) const |
Behaves like saveToConfigFile, but you can pass directly a file name and a temporary CConfigFile object will be created automatically to save the file. More... | |
void | dumpToConsole () const |
Just like dumpToTextStream() but sending the text to the console (std::cout) More... | |
Static Protected Member Functions | |
static void | dumpVar_int (CStream &out, const char *varName, int v) |
Used to print variable info from dumpToTextStream with the macro LOADABLEOPTS_DUMP_VAR. More... | |
static void | dumpVar_float (CStream &out, const char *varName, float v) |
static void | dumpVar_double (CStream &out, const char *varName, double v) |
static void | dumpVar_bool (CStream &out, const char *varName, bool v) |
static void | dumpVar_string (CStream &out, const char *varName, const std::string &v) |
Protected Attributes | |
std::deque< TMetricMapInitializerPtr > | m_list |
typedef std::deque<TMetricMapInitializerPtr>::const_iterator mrpt::maps::TSetOfMetricMapInitializers::const_iterator |
Definition at line 87 of file TMetricMapInitializer.h.
typedef std::deque<TMetricMapInitializerPtr>::iterator mrpt::maps::TSetOfMetricMapInitializers::iterator |
Definition at line 86 of file TMetricMapInitializer.h.
|
inline |
Definition at line 77 of file TMetricMapInitializer.h.
|
inline |
Definition at line 88 of file TMetricMapInitializer.h.
Referenced by dumpToTextStream(), and mrpt::maps::CMultiMetricMap::setListOfMaps().
|
inline |
Definition at line 90 of file TMetricMapInitializer.h.
|
inline |
Definition at line 92 of file TMetricMapInitializer.h.
Referenced by loadFromConfigFile().
|
inherited |
Just like dumpToTextStream() but sending the text to the console (std::cout)
Definition at line 47 of file CLoadableOptions.cpp.
References mrpt::utils::CLoadableOptions::dumpToTextStream(), and loadable_opts_my_cout.
Referenced by mrpt::hmtslam::CTopLCDetector_GridMatching::computeTopologicalObservationModel(), mrpt::hmtslam::CHMTSLAM::loadOptions(), and mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::printParams().
|
virtual |
This method dumps the options of the multi-metric map AND those of every internal map.
Reimplemented from mrpt::utils::CLoadableOptions.
Definition at line 105 of file TMetricMapInitializer.cpp.
References begin(), end(), MRPT_END, MRPT_START, mrpt::utils::CStream::printf(), and size().
|
staticprotectedinherited |
Definition at line 67 of file CLoadableOptions.cpp.
References LOADABLEOPTS_COLUMN_WIDTH, and mrpt::utils::CStream::printf().
|
staticprotectedinherited |
Definition at line 62 of file CLoadableOptions.cpp.
References LOADABLEOPTS_COLUMN_WIDTH, and mrpt::utils::CStream::printf().
|
staticprotectedinherited |
Definition at line 57 of file CLoadableOptions.cpp.
References LOADABLEOPTS_COLUMN_WIDTH, and mrpt::utils::CStream::printf().
|
staticprotectedinherited |
Used to print variable info from dumpToTextStream with the macro LOADABLEOPTS_DUMP_VAR.
Definition at line 52 of file CLoadableOptions.cpp.
References LOADABLEOPTS_COLUMN_WIDTH, and mrpt::utils::CStream::printf().
|
staticprotectedinherited |
Definition at line 72 of file CLoadableOptions.cpp.
References LOADABLEOPTS_COLUMN_WIDTH, and mrpt::utils::CStream::printf().
|
inline |
Definition at line 89 of file TMetricMapInitializer.h.
Referenced by dumpToTextStream(), and mrpt::maps::CMultiMetricMap::setListOfMaps().
|
inline |
Definition at line 91 of file TMetricMapInitializer.h.
|
virtual |
Loads the configuration for the set of internal maps from a textual definition in an INI-like file.
The format of the ini file is defined in utils::CConfigFile. The list of maps and their options will be loaded from a handle of sections:
Where:
Implements mrpt::utils::CLoadableOptions.
Definition at line 59 of file TMetricMapInitializer.cpp.
References ASSERT_, clear(), mrpt::mrpt::format(), mrpt::maps::TMetricMapInitializer::loadFromConfigFile(), MRPT_END, MRPT_START, push_back(), and mrpt::utils::CConfigFileBase::read_uint64_t().
Referenced by mrpt::hmtslam::CHMTSLAM::loadOptions(), and run_test_pf_localization().
|
inherited |
Behaves like loadFromConfigFile, but you can pass directly a file name and a temporary CConfigFile object will be created automatically to load the file.
Definition at line 23 of file CLoadableOptions.cpp.
References mrpt::utils::CLoadableOptions::loadFromConfigFile().
Referenced by mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::loadParams().
|
inline |
Definition at line 81 of file TMetricMapInitializer.h.
Referenced by loadFromConfigFile(), and mrpt::detectors::CDetectorDoorCrossing::process().
|
inline |
Definition at line 83 of file TMetricMapInitializer.h.
|
virtualinherited |
This method saves the options to a ".ini"-like file or memory-stored string list.
Reimplemented in mrpt::vision::TMultiResDescOptions, mrpt::vision::TMultiResDescMatchOptions, mrpt::nav::CPTG_RobotShape_Circular, mrpt::nav::CPTG_RobotShape_Polygonal, mrpt::nav::CParameterizedTrajectoryGenerator, mrpt::nav::CAbstractNavigator::TAbstractNavigatorParams, mrpt::nav::CAbstractPTGBasedReactive::TAbstractPTGNavigatorParams, mrpt::nav::CPTG_DiffDrive_CollisionGridBased, mrpt::nav::CHolonomicND::TOptions, mrpt::nav::CWaypointsNavigator::TWaypointsNavigatorParams, mrpt::nav::CHolonomicFullEval::TOptions, mrpt::nav::CReactiveNavigationSystem::TReactiveNavigatorParams, mrpt::nav::CHolonomicVFF::TOptions, mrpt::nav::CMultiObjectiveMotionOptimizerBase::TParamsBase, mrpt::maps::CPointCloudFilterByDistance::TOptions, mrpt::nav::CPTG_DiffDrive_C, mrpt::nav::CPTG_DiffDrive_alpha, mrpt::nav::CMultiObjMotionOpt_Scalarization::TParams, mrpt::nav::CPTG_DiffDrive_CC, mrpt::nav::CPTG_DiffDrive_CCS, mrpt::nav::CPTG_DiffDrive_CS, and mrpt::nav::CPTG_Holo_Blend.
Definition at line 31 of file CLoadableOptions.cpp.
References MRPT_UNUSED_PARAM.
Referenced by mrpt::utils::CLoadableOptions::dumpToTextStream(), and mrpt::utils::CLoadableOptions::saveToConfigFileName().
|
inherited |
Behaves like saveToConfigFile, but you can pass directly a file name and a temporary CConfigFile object will be created automatically to save the file.
Definition at line 39 of file CLoadableOptions.cpp.
References mrpt::utils::CLoadableOptions::saveToConfigFile().
|
inline |
Definition at line 85 of file TMetricMapInitializer.h.
Referenced by dumpToTextStream().
|
protected |
Definition at line 74 of file TMetricMapInitializer.h.
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 |