Transforms a rotation matrix (R_X R_Y R_Z) into Euler angles.

rot_to_euler(rotmat)

Arguments

rotmat

The rotation matrix. Can be 3x3 or 4x4 (homogeneous coordinates).

Value

Euler angles in degrees. c(phi,theta,yaw)

Examples

#None