Template Function fuse_core::wrapAngle2D(const T&)

Function Documentation

template<typename T>
T fuse_core::wrapAngle2D(const T &angle)

Wrap a 2D angle to the standard (-Pi, +Pi] range.

Parameters:

angle[in] Input angle to be wrapped to the (-Pi, +Pi] range.

Returns:

The equivalent wrapped angle