fix: BUG-22 include GPS-derived speeds in trip max (Pi + server)

This commit is contained in:
Mathieu Moran
2026-08-14 22:56:37 -04:00
parent aaa0bdabc4
commit d9314969d8
4 changed files with 28 additions and 3 deletions
+3
View File
@@ -2286,6 +2286,9 @@ logged as `BUG-XX` entries in [BUGS.md](./BUGS.md) (BUG-16 onward) and fixed + v
on 2026-08-13 (22:23:50→22:43:41 UTC). Fixed: server `get_trip_route()` mirrors the Pi's
GPS-speed fallback (derives speed from consecutive GPS points when OBD speed is missing), so
the portal replay no longer flatlines at 0 km/h. Follow-up: OBD reconnect on stalled reads.
- **BUG-22 (trip max ignores GPS-only stretch) — 🚧 IN PROGRESS**: `max_speed_kmh` used OBD speeds
only, so the top speed during the OBD dropout (e.g. 135 GPS) wasn't reflected. Fix: union OBD +
GPS-derived segment speeds in the max on both Pi + server.
Open items from the drive — fill in as reported:
- (none clock-related — BUG-17/BUG-18 closed 2026-08-14).