Dead reckoning in a tunnel: no fix for 3 s (or mode < 2) on the trip's route, the position carried along it (estimated: true, a grey arrow) by the car's CAN speed (vehicle.speed) when there is one, the average speed of the last ~20 s otherwise, up to 10 min (App.gnss_position, TripStore.ahead)

This commit is contained in:
randy committed 2026-12-02 18:24:47 +01:00
1 parent 7fdc0114e6
commit 7204355510
8 files changed
+143 -18

No files matched your search

+8
View File
@@ -249,6 +249,14 @@ already reaches the home MQTT broker (`mqtt_ext`) from ESPHome nodes in `~/espho
*** [ ] IMU every 100–200 ms (the node reads it every 5 s today) and levelling done by the
node itself, set by an SDO write from a button in `/can.html` — design in home-gitops
`docs/canopen-nodes.adoc` ("Nulovanie náklonu a rýchlosť IMU")
* [x] Dead reckoning in a tunnel (`App.gnss_position`): no fix for 3 s (or `mode` < 2) on the
trip's route — the position carried along it, `estimated: true`, a grey arrow; by the CAN
signal `vehicle.speed` (m/s) when there is one, the average speed of the last ~20 s before
otherwise; up to 10 min (2026-12-01). The SIM7600E's GNSS has no DR of its own
** [ ] `vehicle.speed` off the car (OBD/CAN) into `can.json`; its scale calibrated against GNSS
** [ ] Off the route: the gyro's yaw rate (the IMU node) or the compass, with map matching
** [ ] Back out of the tunnel: the first fixes taken only once consistent (HDOP, the jump from
the estimate); the trip log keeps a straight line through the tunnel for now
=== 3D navigation mode