9 #ifndef CRobot2DPoseEstimator_H 10 #define CRobot2DPoseEstimator_H 37 void processUpdateNewPoseLocalization(
42 void processUpdateNewOdometry(
45 bool hasVelocities =
false,
57 MRPT_DEPRECATED(
"Use the other signature with TTwist2D output for velocities")
59 MRPT_DEPRECATED(
"Use the other signature with TTwist2D output for velocities")
70 bool getLatestRobotPose(
CPose2D &pose)
const;
75 max_odometry_age ( 1.0 ),
76 max_localiz_age ( 4.0 )
98 static void extrapolateRobotPose(
101 const double delta_time,
uint64_t TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1...
This class provides simple critical sections functionality.
mrpt::math::TPose2D m_loc_odo_ref
The interpolated odometry position for the last "m_robot_pose" (used as "coordinates base" for subseq...
double max_odometry_age
To consider data old, in seconds.
mrpt::system::TTimeStamp now()
A shortcut for system::getCurrentTime.
A simple filter to estimate and extrapolate the robot 2D (x,y,phi) pose from asynchronous odometry an...
GLubyte GLubyte GLubyte GLubyte w
2D twist: 2D velocity vector (vx,vy) + planar angular velocity (omega)
mrpt::math::TPose2D m_last_loc
Last pose as estimated by the localization/SLAM subsystem.
mrpt::synch::CCriticalSection m_cs
mrpt::system::TTimeStamp m_last_loc_time
mrpt::system::TTimeStamp m_last_odo_time
double max_localiz_age
To consider data old, in seconds.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle...
#define MRPT_DEPRECATED(msg)
Usage: MRPT_DEPRECATED("Use XX instead") void myFunc(double);.
TOptions params
parameters of the filter.
mrpt::math::TPose2D m_last_odo
mrpt::math::TTwist2D m_robot_vel_local
Robot odometry-based velocity in a local frame of reference.