7#include "units/angle.h"
19 units::degree_t
NearestAngle(units::degree_t desiredAngle, units::degree_t referenceAngle);
29 units::degree_t
InvertedAngle(units::degree_t desiredAngle, units::degree_t referenceAngle);
39 units::degree_t
ConstrainAngle(units::degree_t inVal, units::degree_t minVal, units::degree_t maxVal);
units::degree_t InvertedAngle(units::degree_t desiredAngle, units::degree_t referenceAngle)
Finds closest angle alias of a vector 180-degrees offset from desiredAngle relative to referencedAngl...
Definition angle_utils.cpp:29
units::degree_t ConstrainAngle(units::degree_t inVal, units::degree_t minVal, units::degree_t maxVal)
Normalize angle to specified range.
Definition angle_utils.cpp:36
units::degree_t NearestAngle(units::degree_t desiredAngle, units::degree_t referenceAngle)
Finds closest angle alias of desiredAngle relative to referencedAngle. All inputs are normalized so r...
Definition angle_utils.cpp:15
Definition swap_controllers_command.h:12