Angles Normal { get; set; }

robot_2Generated
code_blocksInput

Description

Returns a normalized version of this Angles object, where each axis is normalized to the range of (-180, 180]. This ensures that the angles are within a standard range, making them easier to work with and compare.

Usage

Use the Normal property when you need to ensure that the angles are within the standard range of (-180, 180]. This is particularly useful when performing calculations that require consistent angle values.

Example

// Example of using the Normal property
Angles angles = new Angles(270, 450, -720);
Angles normalizedAngles = angles.Normal;

// normalizedAngles will have values within the range (-180, 180] for each axis.