Function lupnt::RotCartToEastNorthUp

Function Documentation

Mat3 lupnt::RotCartToEastNorthUp(const State &xyz_ref, Real R_body, Real flattening)

Convert Cartesian to East-North-Up rotation matrix.

Parameters:
  • xyz_ref – Reference position vector (x, y, z) [m]

  • R_bodyBody radius [m]

  • flatteningBody flattening [-]

Returns:

Rotation matrix from Cartesian to East-North-Up