mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-31 12:23:23 +08:00
[fix] correct ocaml wgs84_distance function
also remove the warning in the GCS for "approaching" which is not producing anything since 2016
This commit is contained in:
@@ -735,6 +735,6 @@ let wgs84_hmsl = fun geo ->
|
||||
|
||||
let wgs84_distance = fun geo1 geo2 ->
|
||||
let e1 = ecef_of_geo WGS84 geo1 0.
|
||||
and e2 = ecef_of_geo WGS84 geo1 0. in
|
||||
and e2 = ecef_of_geo WGS84 geo2 0. in
|
||||
ecef_distance e1 e2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user