mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-26 10:17:18 +00:00
fix lat and long invert
This commit is contained in:
+2
-2
@@ -78,8 +78,8 @@ def get_figures(trips: Trips, charging: List[dict]):
|
||||
names = []
|
||||
for trip in trips:
|
||||
for points in trip.positions:
|
||||
lats = np.append(lats, points.longitude)
|
||||
lons = np.append(lons, points.latitude)
|
||||
lats = np.append(lats, points.latitude)
|
||||
lons = np.append(lons, points.longitude)
|
||||
names = np.append(names, [str(trip.start_at)])
|
||||
lats = np.append(lats, None)
|
||||
lons = np.append(lons, None)
|
||||
|
||||
Reference in New Issue
Block a user