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_PI circle to +M_PI circle It takes and returns radians.

Parameters:

angles – Angles to normalize

Returns:

normalized angles