50             std::ostream& out) 
const override;  
   154         const std::string& file, 
bool formatEMF_BMP = 
true) 
override;
 void loadFromConfigFile(const mrpt::config::CConfigFileBase &source, const std::string §ion) override
This method load the options from a ".ini"-like file or memory-stored string list. 
 
double localizationAngDistance
Minimum robot angular (rad, deg when loaded from the .ini) displacement for a new observation to be u...
 
void updatePose(const mrpt::poses::CPose2D &p)
 
mrpt::maps::TSetOfMetricMapInitializers mapInitializers
What maps to create (at least one points map and/or a grid map are needed). 
 
std::map< std::string, TDist > m_distSinceLastInsertion
Indexed by sensor label. 
 
The ICP algorithm configuration data. 
 
VerbosityLevel
Enumeration of available verbosity levels. 
 
mrpt::maps::CMultiMetricMap metricMap
The metric map representation as a points map: 
 
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...
 
CMetricMapBuilderICP()
Default constructor - Upon construction, you can set the parameters in ICP_options, then call "initialize". 
 
mrpt::poses::CPose2D m_auxAccumOdometry
 
double minICPgoodnessToAccept
Minimum ICP goodness (0,1) to accept the resulting corrected position (default: 0.40) 
 
void getCurrentMapPoints(std::vector< float > &x, std::vector< float > &y)
Returns the 2D points of current local map. 
 
This class stores a sequence of <Probabilistic Pose,SensoryFrame> pairs, thus a "metric map" can be t...
 
std::deque< mrpt::math::TPose2D > m_estRobotPath
The estimated robot path: 
 
A simple filter to estimate and extrapolate the robot 2D (x,y,phi) pose from asynchronous odometry an...
 
mrpt::maps::CSimpleMap SF_Poses_seq
The set of observations that leads to current map: 
 
TConfigParams ICP_options
Options for the ICP-SLAM application. 
 
A set of TMetricMapInitializer structures, passed to the constructor CMultiMetricMap::CMultiMetricMap...
 
double insertionAngDistance
Minimum robot angular (rad, deg when loaded from the .ini) displacement for a new observation to be i...
 
void initialize(const mrpt::maps::CSimpleMap &initialMap=mrpt::maps::CSimpleMap(), const mrpt::poses::CPosePDF *x0=nullptr) override
Initialize the method, starting with a known location PDF "x0"(if supplied, set to nullptr to left un...
 
Declares a class for storing a collection of robot actions. 
 
bool matchAgainstTheGrid
(default:false) Match against the occupancy grid or the points map? The former is quicker but less pr...
 
void updateDistances(const mrpt::poses::CPose2D &p)
 
CICP::TConfigParams ICP_params
Options for the ICP algorithm itself. 
 
This class allows loading and storing values and vectors of different types from a configuration text...
 
TConfigParams(mrpt::system::VerbosityLevel &parent_verbosity_level)
Initializer. 
 
TConfigParams & operator=(const TConfigParams &other)
 
std::string currentMapFile
Current map file. 
 
const mrpt::maps::CMultiMetricMap * getCurrentlyBuiltMetricMap() const override
Returns the map built so far. 
 
Declares a class for storing a "sensory frame", a set of "observations" taken by the robot approximat...
 
void resetRobotDisplacementCounters(const mrpt::poses::CPose2D &new_pose)
 
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...
 
void setCurrentMapFile(const char *mapFile)
Sets the "current map file", thus that map will be loaded if it exists or a new one will be created i...
 
mrpt::poses::CRobot2DPoseEstimator m_lastPoseEst
The pose estimation by the alignment algorithm (ICP). 
 
void dumpToTextStream(std::ostream &out) const override
This method should clearly display all the contents of the structure in textual form, sending it to a std::ostream. 
 
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle...
 
~CMetricMapBuilderICP() override
Destructor: 
 
GLsizei GLsizei GLchar * source
 
void processObservation(const mrpt::obs::CObservation::Ptr &obs)
The main method of this class: Process one odometry or sensor observation. 
 
void getCurrentlyBuiltMap(mrpt::maps::CSimpleMap &out_map) const override
Fills "out_map" with the set of "poses"-"sensory-frames", thus the so far built map. 
 
mrpt::math::CMatrixDouble33 m_lastPoseEst_cov
Last pose estimation (covariance) 
 
double localizationLinDistance
Minimum robot linear (m) displacement for a new observation to be used to do ICP-based localization (...
 
Algorithm configuration params. 
 
mrpt::poses::CPose3DPDF::Ptr getCurrentPoseEstimation() const override
Returns a copy of the current best pose estimation as a pose PDF. 
 
A class for very simple 2D SLAM based on ICP. 
 
bool m_there_has_been_an_odometry
 
This class stores any customizable set of metric maps. 
 
mrpt::system::VerbosityLevel & verbosity_level
 
unsigned int getCurrentlyBuiltMapSize() override
Returns just how many sensory-frames are stored in the currently build map. 
 
mrpt::math::TPose2D last_update
 
void processActionObservation(mrpt::obs::CActionCollection &action, mrpt::obs::CSensoryFrame &in_SF) override
Appends a new action and observations to update this map: See the description of the class at the top...
 
double insertionLinDistance
Minimum robot linear (m) displacement for a new observation to be inserted in the map...
 
void saveCurrentEstimationToImage(const std::string &file, bool formatEMF_BMP=true) override
A useful method for debugging: the current map (and/or poses) estimation is dumped to an image file...
 
void accumulateRobotDisplacementCounters(const mrpt::poses::CPose2D &new_pose)
 
Traveled distances from last map update / ICP-based localization.