AngleUnit
AngleUnit refers to the unit of measurement used to represent angles. It defines how angular values are interpreted and used within the FTC programming environment. Common angle units are
DEGREES: This is the most common and intuitive unit for representing angles. A full circle is 360 degrees, a right angle is 90 degrees, and so on.
RADIANS: This is the standard unit of angular measurement in mathematics and physics. A full circle is 2π radians, a right angle is π/2 radians.
call AngleUnit.normalize
Normalizes the given angle to the range of [-180, 180) degrees, or [-π, π) radians.
call AngleUnit.convert
Converts the given angle to the range of [-180, 180) degrees, or [-π, π) radians, depending on the “to” unit.