YawDomain

The various modes that the yaw field can represent the current robot yaw as. Note this domain does not apply to the IMU interface methods. If you wish to convert between these domains, see the utilities available in Mathf.

Entries

Link copied to clipboard

Default behaviour. Angle is wrapped between [-180, 180) degrees, or [-π, π) radians.

Link copied to clipboard

Angle is wrapped between [0, 360) degrees, or [0, 2π) radians.

Link copied to clipboard

Angle is unrestricted between (-∞, ∞) units.

Functions

Link copied to clipboard
open fun valueOf(name: String): IMUEx.YawDomain

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.