|
selfdriving
|
#include <mpp/data/VehicleOdometryState.h>
Public Attributes | |
| bool | valid = false |
| mrpt::math::TPose2D | odometry |
| mrpt::math::TTwist2D | odometryVelocityLocal |
| mrpt::system::TTimeStamp | timestamp |
| bool | pendedActionExists = false |
Data returned by VehicleMotionInterface::get_odometry()
| mrpt::math::TPose2D mpp::VehicleOdometryState::odometry |
The latest robot raw odometry pose. (x,y: meters, phi: radians). Axes: +x=forward, +y=vehicle left, +phi=CCW rotation.
| mrpt::math::TTwist2D mpp::VehicleOdometryState::odometryVelocityLocal |
The latest robot velocity, in its own body local frame of reference. (vx,vy: m/s, omega: rad/s) Axes: +vx=forward, +vy=vehicle left, +omega=CCW rotation.
| bool mpp::VehicleOdometryState::pendedActionExists = false |
There exists an action waiting for execution after the current under-execution one. See: VehicleMotionInterface::motion_execute() for a discussion.
| mrpt::system::TTimeStamp mpp::VehicleOdometryState::timestamp |
The timestamp for the read pose and velocity values. Use mrpt::system::now() unless you have something more accurate.
| bool mpp::VehicleOdometryState::valid = false |
Set to true if data could be retrieved from the robot system successfully, set to false upon any critical error that made it impossible to fill in the data fields in this structure.
1.8.13