Function normalize_angle
Defined in File utils.hpp
Function Documentation
-
void normalize_angle(double &angle)
Normalizes the angle to be within [-pi,pi].
This function takes an angle in radians and normalizes it (belonging to [-pi,pi])
- Parameters:
angle – A reference to an angle which needs to be normalized.