Function navtk::navutils::rot_vec_to_dcm

Function Documentation

Matrix3 navtk::navutils::rot_vec_to_dcm(const Vector3 &phi)

Conversion from rotation vector to direction cosine matrix using truncated series approach.

See eq 3.2.2.1-8 and 3.2.2.1-9 (or 7.1.1.1-3) in Savage, or equivalently eq.11.4-11.1 in T+W 2nd ed.

Parameters

phi – A rotation vector such that rotating the A frame about phi yields the B frame.

Returns

dcm Direction cosine matrix from B to A, that is the DCM that rotates a vector expressed in the B frame into the A frame.