-
Notifications
You must be signed in to change notification settings - Fork 105
Description
Hi,
As mentioned in #30 and #28 the conversion between geodetic and ENU produce some error.
I did the following test:

since the reference longitude and latitude is the same as the longitude and latitude the expected ENU coordinate should be (0,0,100), but the code result in 0.237m error in y direction
after I change the line 55
ecef_to_ned_matrix_ = nRe(phiP, initial_longitude_);
to
ecef_to_ned_matrix_ = nRe(initial_latitude_, initial_longitude_);
the code works well:

and my question is the conversion between geodesic and ENU should be an invertable function why the original code compute the geocentric latitude "phiP" to compute the ecef_to_ned_matrix_ but use geodetic latitude "initial_latitude_" to compute the ned_to_ecef_matrix_ ? Did I missed something important?
Miller