TeamCode / org.firstinspires.ftc.teamcode.sensing / IMUGyro / getAbsoluteAngle

getAbsoluteAngle

fun getAbsoluteAngle(): Double

Overrides Gyro.getAbsoluteAngle

Returns the angle that the robot is facing.

Negative numbers indicate that the robot is facing left from where it originally started. Likewise, positive numbers indicate that the robot is facing right.

Return
the angle that the robot is facing