Template Function fuse_core::rotationMatrix2D

Function Documentation

template<typename T>
Eigen::Matrix<T, 2, 2, Eigen::RowMajor> fuse_core::rotationMatrix2D(const T angle)

Create an 2x2 rotation matrix from an angle.

Parameters:

angle[in] The rotation angle, in radians

Returns:

The equivalent 2x2 rotation matrix