Terrain closes by itself again: the road's surface only off the route (back on it the last road's stayed, so the view never closed); while it's open the top row's Limit shows the surface. Navigated, the planned route behind the car thin and dashed under the trip log's track (the line and its casing clear there). The scale back over the map, bottom left. CAN recordings older than CAN_REC_KEEP_HOURS (24 by default, 0 keeps all) deleted when listed and every segment while recording. TODO tidied
CI / check (push) Successful in 23s
CI / deploy (push) Successful in 2m41s

This commit is contained in:
randy committed 2026-12-03 13:52:13 +01:00
1 parent 21ad6c0c21
commit f981b80599
9 files changed
+80 -34

No files matched your search

+3 -1
View File
@@ -414,8 +414,10 @@ export class DashboardControl {
// ({ deg, live }), the road's surface (off a route, /api/road), the CAN
// actions, and the km along the route (null off it).
state() {
const onRoute = this._route && this._offFixes < OFF_ROUTE_FIXES;
// the road's surface only off the route: back on it the last road's would stay (the terrain view never closed)
return { values: this._values, nav: this._nav, heading: this._heading(), simulated: !!this._simRunning, actions: this._actions || [],
surface: this._road?.surface ?? null, course: this._course, atKm: this._route && this._offFixes < OFF_ROUTE_FIXES ? this._lastAt : null };
surface: onRoute ? null : this._road?.surface ?? null, course: this._course, atKm: onRoute ? this._lastAt : null };
}
// Driving, the GNSS course; standing, the compass — else the last of either, not live.