Navigation: rerouting off the route (30 m for 3 fixes, HDOP ≤ 5, every 15 s at most) from the position to the points not reached yet; lanes as SVG arrows, the ones to take bold; dashboard background see-through with a slider; the GNSS simulation starts at a random place in the offline countries, the map jumping there
CI / check (push) Successful in 22s
CI / deploy (push) Successful in 18s

This commit is contained in:
randy committed 2026-11-30 19:11:07 +01:00
1 parent fbccb2acc9
commit 5f4c7c6ee8
9 files changed
+176 -35

No files matched your search

+14 -4
View File
@@ -212,17 +212,27 @@ already reaches the home MQTT broker (`mqtt_ext`) from ESPHome nodes in `~/espho
** [ ] Speed limits that aren't on the edge: `maxspeed:conditional` (time, wet), variable
signs, `zone:maxspeed` defaults per country (Valhalla leaves untagged roads empty — show
the country's default by road class?), the vehicle's own limits (a camper > 3.5 t: 80/100)
** [ ] Rerouting when off the route (> 50 m for a while): a new route from the position to the
remaining points
** [x] Rerouting (after Ferrostar's split of deviation detection and recalculation): off the
route = over 30 m from its line for 3 fixes in a row (fixes with HDOP > 5 don't count), then
the route panel routes from the position to the points not reached yet (via points passed
by km along the route, `legs_km`), at most every 15 s and only moving
*** [ ] Step advance like Ferrostar's DistanceEntryExit (30 m to the step's end, 5 m past it)
instead of "the first maneuver ahead by km"; arrival at 30 m
** [ ] Turn-by-turn: the next maneuver big (arrow, distance, street), voice
(`speechSynthesis`), the route ahead highlighted / the driven part greyed
** [ ] Lanes as proper arrows (SVG per direction bit, not Unicode) and only the lanes Valhalla
marks for the maneuver; through-lanes guidance before motorway exits
** [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
** [ ] `locate()` scans the whole route each fix — a window around the last hit on long routes
** [ ] A native Android app on Ferrostar (rerouting, Valhalla speed limits, TTS built in) over
our Valhalla (`format: osrm`) — only if navigation is wanted on a phone outside the car; the
car's 16" display is the Pi's browser either way. Ferrostar's web components are beta: no
rerouting or annotations on the web, bundler + WASM, its own map element
** [x] GNSS simulation for trying it without the car (`lib/maptool/gnss_sim.rb`, Dashboard
settings → "Simulate driving from the map center", `POST/DELETE /api/sim/gnss`): random
trips over our Valhalla (2–8 km each, one after another) at 90 % of the road's limit, a fix