added WGS84 altitudes to GPSLoader returned values

This commit is contained in:
Louis Heredero 2024-04-17 17:38:04 +02:00
parent 477f479712
commit 57808d6f2f
Signed by: HEL
GPG Key ID: 8D83DE470F8544E7

View File

@ -9,6 +9,7 @@ class GPSLoader:
"times": [], "times": [],
"points": [], "points": [],
"altitudes": [], "altitudes": [],
"altitudes_wgs84": [],
"speeds": [], "speeds": [],
"directions": [], "directions": [],
"distances": [], "distances": [],
@ -45,6 +46,7 @@ class GPSLoader:
data["times"].append(time) data["times"].append(time)
data["points"].append(Vec2(lon.value, lat.value)) data["points"].append(Vec2(lon.value, lat.value))
data["altitudes"].append(alt) data["altitudes"].append(alt)
data["altitudes_wgs84"].append(alt_wgs84)
data["speeds"].append(speed) data["speeds"].append(speed)
data["directions"].append(dir_) data["directions"].append(dir_)
data["distances"].append(dist) data["distances"].append(dist)