9 #ifndef CMonteCarloLocalization2D_H
10 #define CMonteCarloLocalization2D_H
23 class COccupancyGridMap2D;
67 void resetUniformFreeSpace(
69 const double freeCellsThreshold = 0.7,
70 const int particlesCount = -1,
71 const double x_min = -1e10f,
72 const double x_max = 1e10f,
73 const double y_min = -1e10f,
74 const double y_max = 1e10f,
75 const double phi_min = -
M_PI,
76 const double phi_max =
M_PI );
87 void prediction_and_update_pfStandardProposal(
101 void prediction_and_update_pfAuxiliaryPFStandard(
115 void prediction_and_update_pfAuxiliaryPFOptimal(
124 const TPose3D * getLastPose(
const size_t i)
const;
126 void PF_SLAM_implementation_custom_update_particle_with_new_pose(
131 void PF_SLAM_implementation_replaceByNewParticleSet(
133 const vector<TPose3D> &newParticles,
134 const vector<double> &newParticlesWeight,
135 const vector<size_t> &newParticlesDerivedFromIdx )
const;
138 double PF_SLAM_computeObservationLikelihoodForParticle(
140 const size_t particleIndexForMap,
The struct for passing extra simulation parameters to the prediction stage when running a particle fi...
The namespace for Bayesian filtering algorithm: different particle filters and Kalman filter algorith...
TMonteCarloLocalizationParams options
MCL parameters.
This namespace contains algorithms for SLAM, localization, map building, representation of robot's ac...
Declares a class for storing a collection of robot actions.
A set of common data shared by PF implementations for both SLAM and localization. ...
Declares a class that represents a Probability Density Function (PDF) over a 2D pose (x...
Classes for 2D/3D geometry representation, both of single values and probability density distribution...
Declares a class that represents a Probability Density Function (PDF) over a 2D pose (x...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
std::deque< CParticleData > CParticleList
Use this type to refer to the list of particles m_particles.
A class for storing an occupancy grid map.
Declares a class for storing a "sensory frame", a set of "observations" taken by the robot approximat...
A class used to store a 2D pose.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
The configuration of a particle filter.
Lightweight 3D pose (three spatial coordinates, plus three angular coordinates).