Function common::llhToEcef

Function Documentation

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

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

Parameters
  • latitude_longitude_height[in] Geodetic coordinates to be converted, passed as (latitude, longitude, height) in [decimal degree, decimal degree, meter].

  • earth_centered_earth_fixed[out] Converted cartesian coordinates (x, y, z) in meter.