|
Fang-Robotics-MCB
Fang Robotics Team Codebase
|
Interface for retrieving the position of a robot chassis in 2 dimensions. More...
#include <odometry_2d_interface.hpp>

Public Member Functions | |
| virtual modm::Location2D< float > | getCurrentLocation2D () const =0 |
| virtual modm::Vector2f | getCurrentVelocity2D () const =0 |
| virtual float | getYaw () const =0 |
| virtual uint32_t | getLastComputedOdometryTime () const =0 |
| virtual void | overrideOdometryPosition (const float positionX, const float positionY)=0 |
Interface for retrieving the position of a robot chassis in 2 dimensions.
The coordinates measured are relative to some reference coordinate frame which has a fixed position and fixed orientation. The reference coordinate frame's position and orientation are implementation defined.
As to why this interface exists separately from a more generic 3D implementation: 2D odometry requires less sensor data (all it needs is chassis yaw in the world frame), and performs simpler computations than a 3D odometry system would require.
|
pure virtual |
Implemented in tap::algorithms::odometry::Odometry2DTracker.
|
pure virtual |
Implemented in tap::algorithms::odometry::Odometry2DTracker.
|
pure virtual |
Implemented in tap::algorithms::odometry::Odometry2DTracker.
|
pure virtual |
Implemented in tap::algorithms::odometry::Odometry2DTracker.
|
pure virtual |
Implemented in tap::algorithms::odometry::Odometry2DTracker.