Function navtk::navutils::C_n_to_e_h_to_ecef

Function Documentation

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

Generates ECEF position vector given position represented as \(\textbf{C}_\text{N}^\text{E}\) and \( h\).

The height \({h}\) is the height above the WGS-84 ellipsoid, the DCM \(\textbf{C}_\text{N}^\text{E}\) relates the N and E frame such that 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 ECEF position vector (meters).