|
Fang-Robotics-MCB
Fang Robotics Team Codebase
|
#include <chassis_world_yaw_observer_interface.hpp>
Public Member Functions | |
| virtual bool | getChassisWorldYaw (float *yaw) const =0 |
Object used to get chassis yaw relative to world frame x-axis. Positive angles sweep from field x-axis to field y-axis (right-handed system).
Returned angle is from sweeping from field positive x-axis to chassis forward vector.
Getting chassis orientation may fail as implementor chooses by returning false to indicate either values are too stale or sensor went offline etc.
|
pure virtual |
Get the chassis' "Yaw" in the world frame. Yaw is measured around the z-axis ("up") and sweeps from the positive x-axis of the world frame to the positive x-axis of the chassis. Positive rotation sweeps from world x-axis to world y-axis (standard right-hand rule). Positive z-axis of world frame is guaranteed to be up (opposite gravity).
| [out] | yaw | destination for chassis yaw in world frame in radians. Range is in (-pi, pi). |
true if valid chassis orientation data was available, false otherwise.