Function navtk::navutils::C_n_to_e_h_to_llh

Function Documentation

Vector3 navtk::navutils::C_n_to_e_h_to_llh(const Matrix3 &C_n_to_e, double h)

Generates position expressed as a vector of latitude, longitude, and height ( \(\textbf{llh}\)) given position represented as \(\textbf{C}_\text{N}^\text{E}\) and \( h\).

The height \( h\) is the height above the WGS-84 ellipsoid, and an arbitrary vector \(\textbf{w}\) expressed in the N frame can be rotated to the E frame according to

\(\textbf{w}^\text{E}=\textbf{C}_\text{N}^\text{E}\textbf{w}^\text{N}\)

Parameters
  • C_n_to_e – The DCM that rotates a vector from the N to E frame: \(\textbf{C}_\text{N}^\text{E}\)

  • h – Ellipsoidal height (meters)

Returns

Size 3 Vector containing latitude, longitude, and ellipsoidal height (radians, radians, meters).