From 57808d6f2f4ab212b209f4cc1adf06b8f4c5ab03 Mon Sep 17 00:00:00 2001 From: LordBaryhobal Date: Wed, 17 Apr 2024 17:38:04 +0200 Subject: [PATCH] added WGS84 altitudes to GPSLoader returned values --- gps_loader.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gps_loader.py b/gps_loader.py index 3c3c4a6..d56cde7 100644 --- a/gps_loader.py +++ b/gps_loader.py @@ -9,6 +9,7 @@ class GPSLoader: "times": [], "points": [], "altitudes": [], + "altitudes_wgs84": [], "speeds": [], "directions": [], "distances": [], @@ -45,6 +46,7 @@ class GPSLoader: data["times"].append(time) data["points"].append(Vec2(lon.value, lat.value)) data["altitudes"].append(alt) + data["altitudes_wgs84"].append(alt_wgs84) data["speeds"].append(speed) data["directions"].append(dir_) data["distances"].append(dist)