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,
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle.
A simple filter to estimate and extrapolate the robot 2D (x,y,phi) pose from asynchronous odometry an...
mrpt::system::TTimeStamp m_last_odo_time
mrpt::synch::CCriticalSection m_cs
mrpt::math::TTwist2D m_robot_vel_local
Robot odometry-based velocity in a local frame of reference.
mrpt::system::TTimeStamp m_last_loc_time
mrpt::math::TPose2D m_last_loc
Last pose as estimated by the localization/SLAM subsystem.
mrpt::math::TPose2D m_loc_odo_ref
The interpolated odometry position for the last "m_robot_pose" (used as "coordinates base" for subseq...
mrpt::math::TPose2D m_last_odo
TOptions params
parameters of the filter.
This class provides simple critical sections functionality.
GLubyte GLubyte GLubyte GLubyte w
uint64_t TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1,...
mrpt::system::TTimeStamp now()
A shortcut for system::getCurrentTime.
#define MRPT_DEPRECATED(msg)
Usage: MRPT_DEPRECATED("Use XX instead") void myFunc(double);.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
2D twist: 2D velocity vector (vx,vy) + planar angular velocity (omega)
double max_localiz_age
To consider data old, in seconds.
double max_odometry_age
To consider data old, in seconds.