Template Function mppi::utils::normalize_angles

Function Documentation

template<typename T>
auto mppi::utils::normalize_angles(const T &angles)

normalize Normalizes the angle to be -M_PIF circle to +M_PIF circle It takes and returns radians.

Parameters:

angles – Angles to normalize

Returns:

normalized angles