9 #ifndef CRejectionSamplingRangeOnlyLocalization_H 10 #define CRejectionSamplingRangeOnlyLocalization_H 28 class CObservationBeaconRanges;
62 bool autoCheckAngleRanges =
true);
67 void RS_drawFromProposal(
CPose2D &outSample );
71 double RS_observationLikelihood(
const CPose2D &x);
88 TDataPerBeacon() : sensorOnRobot(), beaconPosition(), radiusAtRobotPlane(0),minAngle(0),maxAngle(0)
A class for storing a map of 3D probabilistic landmarks.
Data for each beacon observation with a correspondence with the map.
float m_z_robot
Z coordinate of the robot.
size_t m_drawIndex
The index in "m_dataPerBeacon" used to draw samples (the rest will be used to evaluate the likelihood...
This base provides a set of functions for maths stuff.
virtual ~CRejectionSamplingRangeOnlyLocalization()
Destructor.
Classes for 2D/3D geometry representation, both of single values and probability density distribution...
std::deque< TDataPerBeacon > m_dataPerBeacon
Data for each beacon observation with a correspondence with the map.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A class used to store a 2D pose.
Declares a class derived from "CObservation" that represents one (or more) range measurements to labe...
A base class for implementing rejection sampling in a generic state space.
An implementation of rejection sampling for generating 2D robot pose from range-only measurements wit...