|
selfdriving
|
#include <mpp/data/VehicleLocalizationState.h>
Public Attributes | |
| bool | valid = false |
| mrpt::math::TPose2D | pose |
| mrpt::system::TTimeStamp | timestamp = INVALID_TIMESTAMP |
| std::optional< mrpt::math::CMatrixDouble33 > | poseCov |
| std::string | frame_id = "map" |
Data returned by VehicleMotionInterface::get_localization()
| std::string mpp::VehicleLocalizationState::frame_id = "map" |
ID of the coordinate frame for pose. Default if not modified is "map". [Only for possible future support for submapping]
| mrpt::math::TPose2D mpp::VehicleLocalizationState::pose |
The current robot pose (typically from a mapping/localization module), in global map coordinates. (x,y: meters, phi: radians)
| std::optional<mrpt::math::CMatrixDouble33> mpp::VehicleLocalizationState::poseCov |
Optional: if available, place here the (x,y,phi) covariance matrix representing the uncertainty in the pose localization from the mapping/particle filter system. It could be used by the plan executor to take uncertainties into account or to stop the robot if localization accuracy drops below a certain required accuracy.
| mrpt::system::TTimeStamp mpp::VehicleLocalizationState::timestamp = INVALID_TIMESTAMP |
The timestamp for the read pose. Use mrpt::system::now() unless you have something more accurate.
| bool mpp::VehicleLocalizationState::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