dashboard: show sensor node RS485 diagnostics

This commit is contained in:
2026-07-26 18:10:50 -06:00
parent 35c0721b47
commit f145730b14
10 changed files with 266 additions and 1 deletions
+8
View File
@@ -76,6 +76,14 @@ The dashboard uses field-filtered `/api/v1/status` calls:
This keeps the endpoint model simple while reducing payload size, JSON parsing, and UI churn.
## XIAO sensor-node RS485 diagnostics
The dashboard listens to the onboard RS485 receiver at 115200 baud using GPIO43 RX and GPIO44 TX. The Waveshare transceiver switches direction automatically, so no DE GPIO is required. The receiver accepts newline-delimited schema-v1 `sensor_status` JSON from the XIAO node and does not change Cargo HTTP/control behavior.
Open the hidden diagnostics overlay to view link state, frame sequence/gaps/errors, IMU accuracy/stability/pitch/roll, and GPS fix/satellites/HDOP/location/speed. This is a temporary bring-up view ahead of a dedicated off-road page.
Arduino **USB CDC On Boot** must remain enabled so dashboard debug `Serial` output uses native USB rather than competing with the GPIO43/GPIO44 RS485 UART.
## Passive CAN Logger
The dashboard runs its 500 kbps TWAI controller in listen-only mode and never