The vehicle
Design commitments
Two principles explain most of the structure of all three codebases, and a third governs how the code gets written. Everything else on this site is downstream of them.
Offline-first, LAN-local
Every realtime, safety-relevant path runs on the vehicle's own WiFi with no dependence on the internet. Starlink is aboard but treated as unreliable. Only non-safety extras — the Burning Man API discovery cache — touch the WAN, and those are cached offline-first with a stale cache strictly preferred over an empty one.
One-to-many by default
Sensors are shared: one GPS, one camera ring, every screen. Sources publish on fixed multicast groups; any number of subscribers listen. Nothing unicasts, nothing handshakes, nothing has a hardcoded IP.
The design target is 8–10 tablets in one vehicle (four today). Per-tablet GPS receivers do not scale for that — Bluetooth GPS pucks cap at roughly five simultaneous clients — which is the whole reason for a single shared sensor hub. How the bus works →
Measure, don't guess
A fixture manual said the moving head's tilt range was 270°; it is 180°, and believing the manual scaled every tilt command by 1.5×. Where a number in this repository came from a datasheet rather than a measurement, the code says so.
That discipline shows up all over: the DMX channel map was re-derived by mutation testing rather than read from the menu, the colour wheel was measured with the rig's own camera, and the Esplanade ring radius was corrected from 752.0 m to 761.5 m by re-measuring the shipped GIS. The bench log →
Why the system is shaped this way
| Decision | Reason |
|---|---|
| Fleet bus on fixed multicast groups | Dynamic-DHCP-proof, no hardcoded IPs, fully offline, one-to-many by nature. The subnet-broadcast copy exists because real access points drop multicast. |
| Broadcast the whole sensor hub, not just GPS | Compass heading fills the gap GPS course leaves at low speed — and an art car spends most of its time barely moving. One hub, one rich shared truth. |
| Camera on a dedicated edge box; broadcast detections, not video | Right physical location, isolates sensor failure, tiny payload, and every viewer is a first-class subscriber rather than a client of one tablet. |
| Classical CV first, trained model later on public thermal data | No playa data collection and no self-labelling required to ship the safety core. |
| DMX tracker slaved to detections | Illuminating the pedestrian is both the safety function and the spectacle. |
| The demo threat source defaults to nothing | A fabricated collision on a driver's HUD is worse than a blank one; ABSENT is a legible state. |
| A card with no data leaves the rotation | A passenger display cycling through blank panels reads as broken hardware. |
| Everything realtime is link-local | The vehicle stays fully functional with the internet down, which on the playa is the normal case. |
Environment constraints behind the choices
Every constraint below is why something in the design looks the way it does.
| Constraint | What it forces |
|---|---|
| Heat | Dark devices in direct sun throttle or shut down. Vented mounts, shade, and insulation between the roof and the device. |
| Dust | Alkaline playa dust penetrates everything. IP-rated devices and sealed enclosures — and note that thermal optics foul, and glass blocks LWIR. A germanium or other IR-transmissive window is required, not a glass one. |
| Power | A moving head, a Jetson, ten tablets and Starlink is a real load. The vehicle runs a 48 V DC system, with 120 V AC from an inverter and 12 V step-downs for the low-voltage gear. |
| Vibration | Damped mounts. This is also the camera stabilisation strategy: mechanical damping plus a software detection tracker, not video stabilisation. |
| 14 days unattended | Nothing may depend on someone noticing a failure. |
That last one is the most structurally load-bearing. It is why the discovery cache lives in
filesDir rather than cacheDir (Android may purge the latter, and it is the
only copy for up to 14 unattended days), why the rolling log counts its own losses rather than
silently dropping lines, why the zvision systemd unit refuses to start when
misconfigured rather than starting wrong, and why nothing in the system ever gives up
restarting.
Where docs and code disagree
The repository's own convention, and the one this site follows: where a doc and the code disagree, the code wins. Where something cannot be verified from the repository — it needs hardware, a device, or the owner's knowledge — the doc says so rather than guessing, and that framing is carried through here. Two such items are open:
- 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. - The 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 the outstanding check.
Converted fromARCHITECTURE.md §1, §9, §10, §11 · docs/DEVICES.md §6 · docs/README.md