26 :
mrpt::utils::COutputLogger(
"CMetricMapBuilder"),
27 options(this->m_min_verbosity_level)
62 "[CMetricMapBuilder::loadCurrentMapFromFile] Loading current map " 64 << fileName <<
"' ..." << std::endl);
73 "[CMetricMapBuilder::loadCurrentMapFromFile] Loading current map " 75 << fileName <<
"' ..." << std::endl);
94 "[CMetricMapBuilder::saveCurrentMapToFile] Saving current map to '" 95 << fileName <<
"' ..." << std::endl);
void saveCurrentMapToFile(const std::string &fileName, bool compressGZ=true) const
Save map (mrpt::maps::CSimpleMap) to a ".simplemap" file.
void clear()
Clear all elements of the maps, and reset localization to (0,0,0deg).
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
This class stores a sequence of <Probabilistic Pose,SensoryFrame> pairs, thus a "metric map" can be t...
bool fileExists(const std::string &fileName)
Test if a given file (or directory) exists.
Declares a class that represents a Probability Density function (PDF) of a 2D pose ...
This CStream derived class allow using a file as a write-only, binary stream.
CMetricMapBuilder()
Constructor.
#define MRPT_LOG_WARN_STREAM(__CONTENTS)
#define MRPT_LOG_DEBUG(_STRING)
void loadCurrentMapFromFile(const std::string &fileName)
Load map (mrpt::maps::CSimpleMap) from a ".simplemap" file.
GLsizei const GLchar ** string
Classes for 2D/3D geometry representation, both of single values and probability density distribution...
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.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define MRPT_LOG_INFO_STREAM(__CONTENTS)
#define CFileGZOutputStream
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 ~CMetricMapBuilder()
Destructor.
void clear()
Remove all stored pairs.