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

getAbsoluteAngle

abstract fun getAbsoluteAngle(): Double

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