GNSS simulation on its own diagnostics page (/sim.html: drive the trip's route or randomly, stop, simulated time, the position and the trip); along the route with a detour now and then (300–800 m off every 3–8 km, routed by Valhalla); simulated time 1–20× with the fixes carrying the simulation's clock, so a recorded trip keeps real speeds (PUT /api/sim/gnss); /api/can says simulated
This commit is contained in:
1 parent
7d72e9eb63
commit
0c809b3e2b
9 files changed
+265
-46
No files matched your search
@@ -326,9 +326,12 @@ The node sends no course: `App.gnss_update` (where every fix lands, the
|
||||
node's and the GNSS simulation's) works it out from the fix ≥ 5 m back
|
||||
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`; `{"trip": true}` drives the shared trip's route first, the dashboard's button does when there is one) drives
|
||||
The simulation (its own diagnostics page, `/sim.html` — linked from Status / debug and the dashboard settings; `POST`/`DELETE /api/sim/gnss`; `{"trip": true}` drives the shared trip's route first — with a detour now and then, 300–800 m off to one side every 3–8 km, to try off-route and the rerouting — the page's "Drive the trip's route") 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. While it
|
||||
meanwhile — on the car's server only for trying things out. Its time can run faster
|
||||
("Simulated time" 1–20×, `PUT /api/sim/gnss {"speedup"}`): the car moves
|
||||
on that much sooner, while each fix carries the simulation's own clock, so
|
||||
a recorded trip (it's recorded like the car's) shows the real speeds. 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).
|
||||
|
||||
Reference in new issue
Block a user