Navigation: arrived 30 m from the end (banner, drive mode), navigating on past it (the reroute turns back); the next maneuver's lanes from 1 km or 45 s at the speed driven, in drive mode a cell under the maneuver over the map ("ahead" in the profile, shown only with something in it) with the next traffic signal; signals with no route: /api/road also routes 1.5 km straight on from the last fix and gives that way's signals, the nearest one in front shown. TODO: the CAN GNSS follow done (the LTE tracker a layer to switch on), any tracker point followable later
CI / check (push) Successful in 1m22s
CI / deploy (push) Successful in 17s

This commit is contained in:
randy committed 2026-12-03 17:57:27 +01:00
1 parent ad975bcf62
commit a6158f4083
7 files changed
+110 -15

No files matched your search

+16 -7
View File
@@ -324,7 +324,8 @@ already reaches the home MQTT broker (`mqtt_ext`) from ESPHome nodes in `~/espho
instead of "the first maneuver ahead by km"; arrival at 30 m. Done: progress only forward —
the position looked for near the last one first (`locate`, 0.1 km back to 3 km ahead), so a
route along the same road twice or crossing itself doesn't jump; the step still advances 5 m
past the maneuver. Arrival still to do
past the maneuver. Arrival: 30 m from the end "Arrived" (banner, drive mode), the navigation
goes on — driven past it, the reroute turns back to it
** [x] The navigation banner across the top (Dashboard widget, on by default): the next
maneuver's arrow (Valhalla's maneuver type), distance and street, "then …" when the next one
follows within 300 m, its lanes from 1 km, the street being driven; `/api/route` maneuvers
@@ -337,12 +338,20 @@ already reaches the home MQTT broker (`mqtt_ext`) from ESPHome nodes in `~/espho
mode's Menu, off by default
** [x] Lanes as SVG arrows, one per direction bit, the lanes to take (Valhalla's `active`) blue
with that direction bold
*** [ ] Lane guidance before motorway exits (lanes several maneuvers ahead), bigger on the
driving screen
** [ ] Traffic signals with no route: around the position (Valhalla `locate` or the offline
PBF), and only for the direction driven (`traffic_signals:direction`)
** [ ] The "Navigate" follow mode for the CAN GNSS position (today the MQTT tracker and the
browser's GNSS control), the dashboard as part of the driving-mode UI
*** [x] Lane guidance before motorway exits (lanes several maneuvers ahead), bigger on the
driving screen. Done: the next maneuver's lanes from 1 km or 45 s at the speed driven, in drive
mode a cell under the maneuver (`ahead` in the profile), shown only when there's something
** [x] Traffic signals with no route: around the position (Valhalla `locate` or the offline
PBF), and only for the direction driven (`traffic_signals:direction`). Done: `/api/road` also routes
1.5 km straight on from the last fix (leaving in the direction driven) and gives that way's signals;
the nearest one in front shown (dashboard, drive mode's `ahead` cell up to 1 km). The
`:direction` tag not yet
** [x] The "Navigate" follow mode for the CAN GNSS position (today the MQTT tracker and the
browser's GNSS control), the dashboard as part of the driving-mode UI. Done: drive mode's Follow
follows the CAN GNSS; the LTE tracker (MQTT) is a tracker layer to switch on (a second car, the car
seen from home), Meshtastic the same with the nodes picked
*** [ ] Any point of a tracker layer can be the one the map follows — one at a time (picking
another one, or the car's own GNSS, takes it over); today only the MQTT tracker's card has "Navigate"
** [x] `locate()` scans the whole route each fix — a window around the last hit on long routes
** [ ] Shared trip — one itinerary per server for every screen (the cab's display, the tablet
or display in the back, phones): the co-driver adds a stop, the driver's view reroutes on the