Function lupnt::EulerAnglesToDCM

Function Documentation

Mat3 lupnt::EulerAnglesToDCM(Vec3 euler)

Convert euler angles to a direction cosine matrix.

Parameters:

euler – euler angles [phi, theta, psi] (radians) sequence (1, 2, 3)

Returns:

Mat3 direction cosine matrix