9 #ifndef CMetricMapBuilderRBPF_H
10 #define CMetricMapBuilderRBPF_H
87 void loadFromConfigFile(
89 const std::string §ion);
93 void dumpToTextStream(
CStream &out)
const;
128 CPose3DPDFPtr getCurrentPoseEstimation()
const;
132 void getCurrentMostLikelyPath( std::deque<TPose3D> &outPath )
const;
139 void processActionObservation(
145 void getCurrentlyBuiltMap(
CSimpleMap &out_map)
const;
153 unsigned int getCurrentlyBuiltMapSize();
159 void saveCurrentEstimationToImage(
const std::string &file,
bool formatEMF_BMP =
true);
167 void saveCurrentPathEstimationToTextFile( std::string fil );
169 double getCurrentJointEntropy();
176 observationsInserted(false)
float insertionAngDistance
bool observationsInserted
Whether the SF has been inserted in the metric maps.
mrpt::poses::CPose3D odoIncrementSinceLastMapUpdate
Traveled distance since last map update.
This class stores any customizable set of metric maps.
float insertionLinDistance
Distances (linear and angular) for inserting a new observation into the map.
float localizeLinDistance
Distances (linear and angular) for updating the robot pose estimate (and particles weighs...
CMultiMetricMapPDF mapPDF
The map PDF: It includes a path and associated map for each particle.
float insertionLinDistance
TSetOfMetricMapInitializers mapsInitializers
Declares a class for storing a collection of robot actions.
This class allows loading and storing values and vectors of different types from a configuration text...
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
non_copiable_ptr< CMultiMetricMap > currentMetricMapEstimation
A buffer: memory is actually hold within "mapPDF".
This virtual class is the base for SLAM implementations.
Declares a class that represents a probability density function (pdf) of a 2D pose (x...
This class stores a sequence of
pairs, thus a "metric map" can be t...
The struct for passing extra simulation parameters to the prediction/update stage when running a part...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
TStats m_statsLastIteration
This structure will hold stats after each execution of processActionObservation.
A set of TMetricMapInitializer structures, passed to the constructor CMultiMetricMap::CMultiMetricMap...
Declares a class for storing a "sensory frame", a set of "observations" taken by the robot approximat...
This class implements a Rao-Blackwelized Particle Filter (RBPF) approach to map building (SLAM)...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
The configuration of a particle filter.
float localizeLinDistance
Declares a class that represents a Probability Density function (PDF) of a 3D pose ...
This virtual class defines the interface of any object accepting drawing primitives on it...
mrpt::poses::CPose3DPDFGaussian odoIncrementSinceLastLocalization
Traveled distance since last localization update.
This structure will hold stats after each execution of processActionObservation.
bayes::CParticleFilter::TParticleFilterOptions PF_options
Declares a class that represents a Rao-Blackwellized set of particles for solving the SLAM problem (T...
CMultiMetricMapPDF::TPredictionParams predictionOptions
Options for building a CMetricMapBuilderRBPF object, passed to the constructor.
bayes::CParticleFilter::TParticleFilterOptions m_PF_options
The configuration of the particle filter:
float localizeAngDistance
A wrapper class for pointers that can NOT be copied with "=" operator, raising an exception at runtim...
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...