|
LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
|
Field-frame 2D pose. More...
#include <odometry.hpp>
Public Member Functions | |
| Pose (float x=0, float y=0, float theta=0) | |
| Pose | operator* (float scalar) const |
| Pose | operator+ (const Pose &o) const |
| Pose | operator- (const Pose &o) const |
Public Attributes | |
| float | x |
| X position, inches. | |
| float | y |
| Y position, inches. | |
| float | theta |
| Heading. | |
Field-frame 2D pose.
Theta is in degrees by default; use the radians flag on getPose() / setPose() to switch.
Definition at line 24 of file odometry.hpp.
|
inline |
Definition at line 28 of file odometry.hpp.
|
inline |
Definition at line 29 of file odometry.hpp.
Definition at line 30 of file odometry.hpp.
Definition at line 31 of file odometry.hpp.
| float Pose::theta |
Heading.
Definition at line 27 of file odometry.hpp.
| float Pose::x |
X position, inches.
Definition at line 25 of file odometry.hpp.
| float Pose::y |
Y position, inches.
Definition at line 26 of file odometry.hpp.