9 #ifndef CActionRobotMovement2D_H
10 #define CActionRobotMovement2D_H
82 float a1,
a2,
a3,a4,minStdXY,minStdPHI;
101 } motionModelConfiguration;
107 void computeFromOdometry(
109 const TMotionModelOptions &options);
117 void computeFromEncoders(
129 void prepareFastDrawSingleSamples()
const;
139 void computeFromOdometry_modelGaussian(
141 const TMotionModelOptions &o
148 void computeFromOdometry_modelThrun(
150 const TMotionModelOptions &o
163 void prepareFastDrawSingleSample_modelGaussian()
const;
167 void prepareFastDrawSingleSample_modelThrun()
const;
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
#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...
Declares a class for storing a robot action.
Represents a probabilistic 2D movement of the robot mobile base.
mrpt::poses::CPose2D rawOdometryIncrementReading
This is the raw odometry reading, and only is used when "estimationMethod" is "TEstimationMethod::emO...
bool hasVelocities
If "true" means that "velocityLin" and "velocityAng" contain valid values.
int32_t encoderLeftTicks
For odometry only: the ticks count for each wheel FROM the last reading (positive means FORWARD,...
double velocityLin() const
bool hasEncodersInfo
If "true" means that "encoderLeftTicks" and "encoderRightTicks" contain valid values.
mrpt::utils::poly_ptr_ptr< mrpt::poses::CPosePDFPtr > poseChange
The 2D pose change probabilistic estimation.
TEstimationMethod
A list of posible ways for estimating the content of a CActionRobotMovement2D object.
mrpt::math::CMatrixDouble33 m_fastDrawGauss_Z
Auxiliary matrix.
mrpt::math::TTwist2D velocityLocal
If "hasVelocities"=true, the robot velocity in local (robot frame, +X forward) coordinates.
mrpt::poses::CPose2D m_fastDrawGauss_M
TEstimationMethod estimationMethod
This fields indicates the way in which this estimation was obtained.
double velocityAng() const
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
unsigned __int32 uint32_t
2D twist: 2D velocity vector (vx,vy) + planar angular velocity (omega)
double omega
Angular velocity (rad/s)
Options for the gaussian model, which generates a CPosePDFGaussian object in poseChange See docs in :...
Options for the Thrun's model, which generates a CPosePDFParticles object in poseChange See docs in :...
uint32_t nParticlesCount
The default number of particles to generate in a internal representation (anyway you can draw as many...
The parameter to be passed to "computeFromOdometry".
TDrawSampleMotionModel modelSelection
The model to be used.