The vehicle
What is, and isn't, built
Documenting this is the point of the page — it is the thing documentation usually gets wrong. Nothing here is softened: where a source marks something fake, uncalibrated, unresolved or unverified, it is marked that way here too.
Summary
| Built & verified | Built, not yet proven on the vehicle | Not built | |
|---|---|---|---|
:app | The hero cockpit ran on the vehicle at Black Rock City 2026 (on its own GNSS after a GPS bug was found and fixed on site); the whole fleet was tested together on the vehicle network before the event. All three concepts, playa map, routing, shared $ZNAV destination (verified device-to-device), GPS sourcing incl. NET, burn-in, kiosk (incl. auto-relaunch after reboot), logging, passenger display | 2026 base-map address check on-device | Real vehicle transports |
:beacon | GPS + compass end to end; ran on the vehicle at Black Rock City 2026 on the vehicle WiFi; sensor readings seen live there; all seven sentence types under test | Auto-dim from $ZENV end to end on the tablets | Production Pi + u-blox hub |
jetson/ | ZTHREAT bus with --source fake; thermal + RGB cameras streaming on the box on the bench; box installed in the vehicle; boot-wedge self-heal proven on hardware; DMX fixture characterised; Stream Deck driven on real hardware | Tracker aim calibration; mounting the cameras and running zvision on the vehicle (it did not run at BRC 2026) | Trained detector, DMX arbitration between tracker and deck, proximity alarm |
The 2026-08-13 resilience audit drove three shipped fixes: a kiosked tablet relaunches
the cockpit itself after a reboot (the cockpit is set as the device's Home app), the
Jetson self-heals a camera that wedges in select() at cold boot
(CameraStallGuard, ~20 s, hardware-proven) and re-derives
its broadcast target if it started before DHCP, and NetworkThreatSource rebuilds its
socket so a router power-cycle no longer kills the night-vision HUD for the night. The one thing
still needing a human is beacon power — it is the fleet's shared GNSS (tablets with their own
GNSS fail over to it). The audit itself lives in the private development repository.
Deliberately fake, stubbed, or absent
| Thing | Reality |
|---|---|
| Vehicle transports (BLE / USB / WiFi) | Fake. One FakeTransportAdapter implementation, three registered instances. |
TelemetryRepository | Fake. Deterministic synthetic thermal / mode / link tick. |
| Vehicle command vocabulary | SetHeading / SetSpeed only, delivered to a fake. |
| MAP CELL B gauge | A static, visibly dimmed placeholder (50%, VEHICLE PENDING) until the Victron GX feed lands. CELL A is this device's real battery and the throttle trace is a real 30-minute speed history. |
| Jetson detector | Background subtraction. No model, no weights, no inference runtime anywhere in the tree. |
| Jetson camera ring | Software complete; thermal + RGB cameras connected and streaming on the box on the bench (thermal measured 2026-08-13: Y16 160×120 @ 8.79 fps). The box is installed in the vehicle; the cameras are not yet mounted, and the permanent multi-camera ring, aim and a trained detector are still to come. |
| Tracker light aim | tilt_far / tilt_near / pan_center are uncalibrated placeholders. |
| DMX arbitration | Unresolved. zvision --dmx ola and zdeck must not run together. |
CockpitUiState.tiltDeg | Persisted and clamped, but the renderer uses a compile-time 45° — a runtime rotationX would not render in that graphicsLayer on the S9+. |
EgoStyle.HEX | Implemented, selected by no concept. |
| mDNS service discovery | Not built. |
| Proximity alarm | Not built. |
| Map touch interaction tests | Partial. The pinch/twist math (PinchSession, MapGestureMath) is unit-tested; the pointer-event plumbing around it is not. |
The transport path, in full
RoutedVehicleGateway forwards commands to the selected adapter.
FakeTransportAdapter.connect() transitions CONNECTING →
(120 ms) → CONNECTED; send() while disconnected
sets an ERROR phase and drops the command. FakeTelemetryRepository emits a
deterministic 500 ms tick of heading / speed / thermal / mode that
nothing on a real vehicle produces.
Real vehicle data does not travel this path at all. It arrives through
NetworkLocationSource and NetworkThreatSource. The gateway is a boundary
kept warm for a vehicle bus that does not exist yet.
By contrast the GPS location sources are real: there are working
SystemLocationSource, BleLocationSource, UsbLocationSource
and NetworkLocationSource implementations, and NET is verified end to end against the
real beacon.
Known discrepancies
Recorded rather than quietly fixed, because fixing them is a code change.
jetson/HARDWARE.md concludes, with a physics argument since confirmed by
measurement, that the Lepton Ultra Wide's quoted 160° is the diagonal, giving
±64° horizontal. The tablet's
SurroundRing.COVERED_ARCS is -64f..64f, and
zvision's --fov-ref now defaults to d too, so
both sides compute ±64° by default and agree without anyone remembering a flag
(FovReferenceDefaultTest pins it). Full
detail.
zvision --dmx ola and zdeck must not run at the same time. At the
tracker's frame rate a BLACKOUT would be overwritten within
~125 ms and would flicker rather than kill — which is worse
than not having the key, because the operator would believe the light was off. This works today
only because zvision's DMX output defaults to none.
Detail.
- HOME is configured, not geocoded.
Home.LOCATIONcomes from the build; a real camp value is usually a geometric projection of its address. The authoritative placement comes from the BM API shortly before the event. - 2026 base map has not been fully checked on-device. The city has moved; typing a known address and confirming it lands on the right corner is outstanding.
- Night legibility of the surround ring on the A54. Nobody has confirmed a
#00421Erim and small hollow blips are readable at night brightness, through dust, by someone actually driving. - Tracker light aim.
tilt_far_deg/tilt_near_deg/pan_center_deg/pan_gainare nominal placeholders and must be set on the actual mount before enabling real DMX output. - The R8-shrunk release APK has never been validated on a real tablet before fleet distribution.
- The beacon's API 34/35 foreground-service branches are argued from documentation, not observed. The only beacon device on hand is API 29. Recorded as the biggest untested-on-hardware risk in that batch.
- The map-load error overlay is visual-only and unverified — the state transitions are tested, but this project has no Compose UI harness, so the rendering (and whether the RETRY chip's tap conflicts with the map's pan/pinch pointer loop) needs a device.
Test counts
Measured 2026-10-22, all green.
| Suite | Tests |
|---|---|
:app | 1,210 |
:beacon | 180 |
jetson | 542 |
How to run them, and the exact CI gates →
The audits
Three audits were run; they and the decision log live in the private development repository. Their findings are closed or triaged. They are summarised here because several of the fixes are load-bearing design decisions that are easy to undo by accident.
| Audit | What it asked | Outcome |
|---|---|---|
| 2026-08-09 | Four independent reviews of the Android side — the :beacon hub, GPS sourcing/fallback, the telemetry/state pipeline, offline resilience | 20 findings (A1–A3, B1–B6, C1–C10); all closed as of 2026-08-10 |
| 2026-08-13 | Eight-agent fleet-wide bug-hunt, one high-risk area each | ~40 findings (8 P1 all confirmed, ~12 P2, ~20 P3); every in-scope P1 and P2 fixed and shipped bar two deferred for on-hardware validation |
| 2026-08-13, resilience | “Does the fleet come back by itself after a power event?” — power loss, unplug/replug, reboot, cold power-on | Drove the shipped self-recovery work: tablet auto-relaunch (kiosk Home app), the Jetson camera-stall self-heal, and the NetworkThreatSource rebuild loop |
Below: the five 2026-08-09 findings whose fixes are the easiest to revert by accident.
| Finding | The decision that must not be reverted |
|---|---|
| A1 | The brake gate reads effectiveSpeedKph (gpsSpeedKph ?: speedKph), not the debug chips' speed. Reverting that makes the alert un-fireable on a real drive — which is exactly what the audit found: ! BRAKE ! could never fire while actually driving. |
| A2 | RoutedThreatSource.demoEnabled has no default value on purpose, and production passes false. It once defaulted to true and production never overrode it, which put three fabricated contacts — one flagged as a collision course — on the driver's night HUD. |
| C2 | burnInScaffold.effectiveBacklight is the single write site for screen brightness; ambient auto-dim is folded in as a ceiling. A second writer is what the original bug was. |
| C6 | VTG, HDG and HDM are rejected as compass heading deliberately. |
| C7 | The beacon reports the peak of a shock impulse, and the tablet de-duplicates byte-identical $ZSHK lines within 200 ms. |
The audits' own file:line references have since drifted; navigate by symbol name.
Converted fromREADME.md · ARCHITECTURE.md §8, §9 · docs/README.md · docs/BUILD.md · the audits and task list in the private development repository