9 #ifndef CMonteCarloLocalization2D_H 10 #define CMonteCarloLocalization2D_H 21 namespace maps {
class COccupancyGridMap2D; }
63 void resetUniformFreeSpace(
65 const double freeCellsThreshold = 0.7,
66 const int particlesCount = -1,
67 const double x_min = -1e10f,
68 const double x_max = 1e10f,
69 const double y_min = -1e10f,
70 const double y_max = 1e10f,
71 const double phi_min = -
M_PI,
72 const double phi_max =
M_PI );
83 void prediction_and_update_pfStandardProposal(
97 void prediction_and_update_pfAuxiliaryPFStandard(
111 void prediction_and_update_pfAuxiliaryPFOptimal(
121 void PF_SLAM_implementation_custom_update_particle_with_new_pose(
122 CParticleDataContent *particleData,
126 void PF_SLAM_implementation_replaceByNewParticleSet(
127 CParticleList &old_particles,
128 const std::vector<mrpt::math::TPose3D> &newParticles,
129 const std::vector<double> &newParticlesWeight,
130 const std::vector<size_t> &newParticlesDerivedFromIdx )
const;
133 double PF_SLAM_computeObservationLikelihoodForParticle(
135 const size_t particleIndexForMap,
The struct for passing extra simulation parameters to the prediction stage when running a particle fi...
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
TMonteCarloLocalizationParams options
MCL parameters.
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 for storing a "sensory frame", a set of "observations" taken by the robot approximat...
Declares a class that represents a Probability Density Function (PDF) over a 2D pose (x...
Declares a class that represents a Probability Density Function (PDF) over a 2D pose (x...
A class for storing an occupancy grid map.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
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).