Function navtk::navutils::rot_vec_to_dcm
Defined in File navigation.hpp
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.
See also
Coordinate Frames for more details on the rotation vector and DCM representations of attitude.
- Parameters
phi – A rotation vector such that rotating the
Aframe aboutphiyields theBframe.- Returns
dcmDirection cosine matrix fromBtoA, that is the DCM that rotates a vector expressed in theBframe into theAframe.