Function common::ecefToLlhIterative

Function Documentation

void common::ecefToLlhIterative(const Eigen::Vector3d &earth_centered_earth_fixed, Eigen::Vector3d *latitude_longitude_height)

Converts from WGS84 earth centered, earth fixed cartesian (ECEF) coordinates (x, y, z) into WGS84 geodetic coordinates (latitude, longitude and height). Iterative approach.

  • [in] earth_centered_earth_fixed: Cartesian coordinates (x, y, z) in meter to be converted.

  • [out] latitude_longitude_height: Converted geodetic coordinates, passed as (latitude, longitude, height) in [decimal degree, decimal degree, meter].