Dashboard: altitude (gnss.alt, the terrain's while simulating), the car tilted by the terrain's slope while simulating; free look while following (the map moved by hand pauses the follow, "Back to the position" or 15 s resumes it); overlays and shown library files remembered per device (localStorage), back after a reload once the offline checks are in
CI / check (push) Successful in 24s
CI / deploy (push) Successful in 17s

This commit is contained in:
randy committed 2026-12-01 00:15:08 +01:00
1 parent 8c999919b8
commit 12b4ac6725
9 files changed
+199 -19

No files matched your search

+9 -1
View File
@@ -328,7 +328,15 @@ while moving ≥ 1.5 m/s and keeps the last one standing still, so
`/api/gnss/position` has `track` and following in 3D turns heading-up.
The simulation (Dashboard settings, `POST`/`DELETE /api/sim/gnss`) drives
random trips over the local Valhalla and stands in for the node's `gnss.*`
meanwhile — on the car's server only for trying things out.
meanwhile — on the car's server only for trying things out. While it
runs, the dashboard takes the altitude from the terrain (no `gnss.alt`
then) and, when no IMU sends pitch/roll, tilts the car by it: the DEM's slope 15 m ahead/behind and left/right of the course
(`dem.js`, zoom 12, the terrain's slope rather than the road's).
Following the position (GNSS, Locate) pauses when the map is moved by
hand — to look around or change the route — while the marker keeps
moving; "Back to the position" or 15 s without touching the map resumes
it (`followPosition`, `gnss.js`).
=== Map data (one way)