Go to the documentation of this file.
9 #ifndef CActionRobotMovement2D_H
10 #define CActionRobotMovement2D_H
98 } motionModelConfiguration;
mrpt::poses::CPose2D m_fastDrawGauss_M
void prepareFastDrawSingleSample_modelThrun() const
Internal use.
void computeFromEncoders(double K_left, double K_right, double D)
If "hasEncodersInfo"=true, this method updates the pose estimation according to the ticks from both e...
TDrawSampleMotionModel modelSelection
The model to be used.
Options for the Thrun's model, which generates a CPosePDFParticles object in poseChange See docs in :...
void prepareFastDrawSingleSamples() const
Call this before calling a high number of times "fastDrawSingleSample", which is much faster than "dr...
bool hasVelocities
If "true" means that "velocityLin" and "velocityAng" contain valid values.
mrpt::poses::CPosePDFPtr poseChange
The 2D pose change probabilistic estimation.
TMotionModelOptions()
Default values loader.
void fastDrawSingleSample(mrpt::poses::CPose2D &outSample) const
Faster version than "drawSingleSample", but requires a previous call to "prepareFastDrawSingleSamples...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Represents a probabilistic 2D movement of the robot mobile base.
mrpt::math::CMatrixDouble33 m_fastDrawGauss_Z
Auxiliary matrix.
~CActionRobotMovement2D()
Destructor.
TEstimationMethod estimationMethod
This fields indicates the way in which this estimation was obtained.
void prepareFastDrawSingleSample_modelGaussian() const
Internal use.
mrpt::poses::CPose2D rawOdometryIncrementReading
This is the raw odometry reading, and only is used when "estimationMethod" is "TEstimationMethod::emO...
A class used to store a 2D pose.
void drawSingleSample_modelThrun(mrpt::poses::CPose2D &outSample) const
The sample generator for the model "computeFromOdometry_modelThrun", internally called when the user ...
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
int32_t encoderRightTicks
void computeFromOdometry(const mrpt::poses::CPose2D &odometryIncrement, const TMotionModelOptions &options)
Computes the PDF of the pose increment from an odometry reading and according to the given motion mod...
float additional_std_XY
An additional noise added to the thrun model (std.
Options for the gaussian model, which generates a CPosePDFGaussian object in poseChange See docs in :...
A numeric matrix of compile-time fixed size.
void fastDrawSingleSample_modelThrun(mrpt::poses::CPose2D &outSample) const
Internal use.
void fastDrawSingleSample_modelGaussian(mrpt::poses::CPose2D &outSample) const
Internal use.
void computeFromOdometry_modelGaussian(const mrpt::poses::CPose2D &odometryIncrement, const TMotionModelOptions &o)
Computes the PDF of the pose increment from an odometry reading, using a Gaussian approximation as th...
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
uint32_t nParticlesCount
The default number of particles to generate in a internal representation (anyway you can draw as many...
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
bool hasEncodersInfo
If "true" means that "encoderLeftTicks" and "encoderRightTicks" contain valid values.
CActionRobotMovement2D(const CActionRobotMovement2D &o)
Copy constructor.
void computeFromOdometry_modelThrun(const mrpt::poses::CPose2D &odometryIncrement, const TMotionModelOptions &o)
Computes the PDF of the pose increment from an odometry reading, using the motion model from Thrun's ...
Declares a class for storing a robot action.
void drawSingleSample_modelGaussian(mrpt::poses::CPose2D &outSample) const
The sample generator for the model "computeFromOdometry_modelGaussian", internally called when the us...
The parameter to be passed to "computeFromOdometry".
CActionRobotMovement2D()
Constructor.
TEstimationMethod
A list of posible ways for estimating the content of a CActionRobotMovement2D object.
void drawSingleSample(mrpt::poses::CPose2D &outSample) const
Using this method instead of "poseChange->drawSingleSample()" may be more efficient in most situation...
Page generated by Doxygen 1.8.20 for MRPT 1.4.0 SVN: at Thu Aug 27 02:40:23 UTC 2020 | | |