Go to the documentation of this file.
9 #ifndef CRejectionSamplingRangeOnlyLocalization_H
10 #define CRejectionSamplingRangeOnlyLocalization_H
69 float robot_z = 0,
bool autoCheckAngleRanges =
true);
bool setParams(const mrpt::maps::CLandmarksMap &beaconsMap, const mrpt::obs::CObservationBeaconRanges &observation, float sigmaRanges, const mrpt::poses::CPose2D &oldPose, float robot_z=0, bool autoCheckAngleRanges=true)
The parameters used in the generation of random samples:
mrpt::math::TPoint2D beaconPosition
A base class for implementing rejection sampling in a generic state space.
mrpt::poses::CPose2D m_oldPose
void RS_drawFromProposal(mrpt::poses::CPose2D &outSample)
Generates one sample, drawing from some proposal distribution.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
An implementation of rejection sampling for generating 2D robot pose from range-only measurements wit...
size_t m_drawIndex
The index in "m_dataPerBeacon" used to draw samples (the rest will be used to evaluate the likelihood...
Declares a class derived from "CObservation" that represents one (or more) range measurements to labe...
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle.
std::deque< TDataPerBeacon > m_dataPerBeacon
Data for each beacon observation with a correspondence with the map.
Data for each beacon observation with a correspondence with the map.
virtual ~CRejectionSamplingRangeOnlyLocalization()
Destructor.
double RS_observationLikelihood(const mrpt::poses::CPose2D &x)
Returns the NORMALIZED observation likelihood (linear, not exponential!!!) at a given point of the st...
float m_z_robot
Z coordinate of the robot.
mrpt::math::TPoint3D sensorOnRobot
A class for storing a map of 3D probabilistic landmarks.
CRejectionSamplingRangeOnlyLocalization()
Constructor.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |