The gyro axis that points up through the robot, for a gyro that is not mounted flat.
A swerve drive needs the robot's heading, which is rotation about the axis pointing up through the robot. A gyro mounted flat reports that as its yaw. A gyro mounted on its side reports it as its roll or its pitch instead.
| Enumerator |
|---|
| ROLL | The gyro's X axis points up. The gyro's Y axis is taken to point to the robot's left.
|
| PITCH | The gyro's Y axis points up. The gyro's X axis is taken to point to the robot's front.
|
| YAW | The gyro's Z axis points up: the gyro is mounted flat. This is the default.
|