Function lupnt::DCMToEulerAngles

Function Documentation

Vec3 lupnt::DCMToEulerAngles(Mat3 dcm)

Convert a direction cosine matrix to euler angles.

Parameters:

dcm – direction cosine matrix (3x3)

Returns:

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