|
Fang-Robotics-MCB
Fang Robotics Team Codebase
|
#include <chassis_field_yaw_system.hpp>


Classes | |
| struct | Config |
Public Types | |
| using | Motor = motor::IPositionMotor |
| using | Imu = trap::communication::sensors::IImu |
Public Member Functions | |
| ChassisFieldYawSystem (std::unique_ptr< Motor > motor, std::unique_ptr< Imu > chassisImu, const Config &config) | |
| void | initialize () override |
| void | update () override |
| void | setTargetFieldYaw (const Radians &yaw) override |
This is for a yaw system who's IMU is attached to the chassis and the yaw is parallel to the chassis z axis.
Assume that with the axis pointing up, the positive yaw counterclockwise
| fang::turret::ChassisFieldYawSystem::ChassisFieldYawSystem | ( | std::unique_ptr< Motor > | motor, |
| std::unique_ptr< Imu > | chassisImu, | ||
| const Config & | config | ||
| ) |
|
override |
|
override |
|
override |