9 #ifndef CMetricMapBuilder_H 10 #define CMetricMapBuilder_H 52 virtual void initialize(
58 virtual mrpt::poses::CPose3DPDFPtr getCurrentPoseEstimation()
const = 0;
70 virtual unsigned int getCurrentlyBuiltMapSize() = 0;
79 virtual void saveCurrentEstimationToImage(
const std::string &file,
bool formatEMF_BMP =
true) = 0;
90 options.enableMapUpdating = enable;
94 void loadCurrentMapFromFile(
const std::string &fileName);
97 void saveCurrentMapToFile(
const std::string &fileName,
bool compressGZ=
true)
const;
102 TOptions(mrpt::utils::VerbosityLevel &verb_level_ref ) :
103 verbosity_level (verb_level_ref),
104 enableMapUpdating(true),
105 debugForceInsertion(false),
106 alwaysInsertByClass()
This class provides simple critical sections functionality.
void enableMapUpdating(bool enable)
Enables or disables the map updating (default state is enabled)
This class stores a sequence of <Probabilistic Pose,SensoryFrame> pairs, thus a "metric map" can be t...
#define MRPT_MAKE_ALIGNED_OPERATOR_NEW
void leaveCriticalSection()
Leave critical section for map updating.
bool enableMapUpdating
Enable map updating, default is true.
void clear()
Clear the contents of this container.
Declares a class for storing a collection of robot actions.
mrpt::utils::VerbosityLevel & verbosity_level
void enterCriticalSection()
Enter critical section for map updating.
mrpt::synch::CCriticalSection critZoneChangingMap
Critical zones.
void leave() const MRPT_OVERRIDE
Leave.
Options for the algorithm.
void enter() const MRPT_OVERRIDE
Enter.
mrpt::utils::CListOfClasses alwaysInsertByClass
A list of observation classes (derived from mrpt::obs::CObservation) which will be always inserted in...
Declares a class for storing a "sensory frame", a set of "observations" taken by the robot approximat...
This virtual class is the base for SLAM implementations.
GLsizei const GLchar ** string
Declares a class that represents a probability density function (pdf) of a 2D pose (x...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A list (actually based on a std::set) of MRPT classes, capable of keeping any class registered by the...
bool debugForceInsertion
Always insert into map. Default is false: detect if necesary.
This class stores any customizable set of metric maps.
TOptions(mrpt::utils::VerbosityLevel &verb_level_ref)