9 #ifndef CActionRobotMovement2D_H
10 #define CActionRobotMovement2D_H
135 } motionModelConfiguration;
141 void computeFromOdometry(
142 const CPose2D &odometryIncrement,
151 void computeFromEncoders(
159 void drawSingleSample(
CPose2D &outSample )
const;
163 void prepareFastDrawSingleSamples()
const;
167 void fastDrawSingleSample(
CPose2D &outSample )
const;
173 void computeFromOdometry_modelGaussian(
174 const CPose2D &odometryIncrement,
182 void computeFromOdometry_modelThrun(
183 const CPose2D &odometryIncrement,
189 void drawSingleSample_modelGaussian(
CPose2D &outSample )
const;
193 void drawSingleSample_modelThrun(
CPose2D &outSample )
const;
197 void prepareFastDrawSingleSample_modelGaussian()
const;
201 void prepareFastDrawSingleSample_modelThrun()
const;
205 void fastDrawSingleSample_modelGaussian(
CPose2D &outSample )
const;
209 void fastDrawSingleSample_modelThrun(
CPose2D &outSample )
const;
Options for the gaussian model, which generates a CPosePDFGaussian object in poseChange.
The parameter to be passed to "computeFromOdometry".
float velocityLin
The velocity of the robot, linear in meters/sec and angular in rad/sec.
TEstimationMethod
A list of posible ways for estimating the content of a CActionRobotMovement2D object.
uint32_t nParticlesCount
The default number of particles to generate in a internal representation (anyway you can draw as many...
TEstimationMethod estimationMethod
This fields indicates the way this estimation was obtained.
float additional_std_XY
An additional noise added to the thrun model (std.
A numeric matrix of compile-time fixed size.
This base provides a set of functions for maths stuff.
#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...
CPose2D m_fastDrawGauss_M
int32_t encoderRightTicks
Classes for 2D/3D geometry representation, both of single values and probability density distribution...
CPosePDFPtr poseChange
The 2D pose change probabilistic estimation.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
Options for the Thrun's model, which generates a CPosePDFParticles object in poseChange.
Represents a probabilistic 2D movement of the robot mobile base.
A class used to store a 2D pose.
bool hasEncodersInfo
If "true" means that "encoderLeftTicks" and "encoderRightTicks" contain valid values.
TDrawSampleMotionModel modelSelection
The model to be used.
CMatrixDouble33 m_fastDrawGauss_Z
Auxiliary matrix.
bool hasVelocities
If "true" means that "velocityLin" and "velocityAng" contain valid values.
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
CPose2D rawOdometryIncrementReading
This is the raw odometry reading, and only is used when "estimationMethod" is "TEstimationMethod::emO...
Declares a class for storing a robot action.