Go to the documentation of this file.
29 options(this->m_min_verbosity_level)
64 "[CMetricMapBuilder::loadCurrentMapFromFile] Loading current map "
66 << fileName <<
"' ..." << std::endl);
75 "[CMetricMapBuilder::loadCurrentMapFromFile] Loading current map "
77 << fileName <<
"' ..." << std::endl);
96 "[CMetricMapBuilder::saveCurrentMapToFile] Saving current map to '"
97 << fileName <<
"' ..." << std::endl);
#define MRPT_LOG_DEBUG(_STRING)
Use: MRPT_LOG_DEBUG("message");
void loadCurrentMapFromFile(const std::string &fileName)
Load map (mrpt::maps::CSimpleMap) from a ".simplemap" file.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
mrpt::system::COutputLogger COutputLogger
#define MRPT_LOG_WARN_STREAM(__CONTENTS)
Classes for 2D/3D geometry representation, both of single values and probability density distribution...
bool fileExists(const std::string &fileName)
Test if a given file (or directory) exists.
virtual ~CMetricMapBuilder()
Destructor.
void clear()
Clear all elements of the maps, and reset localization to (0,0,0deg).
Saves data to a file and transparently compress the data using the given compression level.
virtual void initialize(const mrpt::maps::CSimpleMap &initialMap=mrpt::maps::CSimpleMap(), const mrpt::poses::CPosePDF *x0=nullptr)=0
Initialize the method, starting with a known location PDF "x0"(if supplied, set to nullptr to left un...
virtual void getCurrentlyBuiltMap(mrpt::maps::CSimpleMap &out_map) const =0
Fills "out_map" with the set of "poses"-"sensory-frames", thus the so far built map.
CMetricMapBuilder()
Constructor.
This CStream derived class allow using a file as a write-only, binary stream.
CArchiveStreamBase< STREAM > archiveFrom(STREAM &s)
Helper function to create a templatized wrapper CArchive object for a: MRPT's CStream,...
This class stores a sequence of <Probabilistic Pose,SensoryFrame> pairs, thus a "metric map" can be t...
#define MRPT_LOG_INFO_STREAM(__CONTENTS)
GLsizei const GLchar ** string
Declares a class that represents a Probability Density function (PDF) of a 2D pose .
void clear()
Remove all stored pairs.
void saveCurrentMapToFile(const std::string &fileName, bool compressGZ=true) const
Save map (mrpt::maps::CSimpleMap) to a ".simplemap" file.
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 | |