:app · the cockpit
:app — the cockpit
Package org.pureagave.zodiac.control. Kotlin + Jetpack Compose, minSdk 28,
targetSdk / compileSdk 35, screenOrientation="fullUser" so each concept reflows for
landscape or portrait. This is what the fleet of tablets runs. At Black Rock City 2026 the
hero cockpit ran on the vehicle with the beacon and the vehicle WiFi; the other tablets did not.
Three concepts, one state
Picked with the top-right pill, persisted across launches. Switching is purely presentational — all three read the same state.
-
MotionTrackerScreen
RADAR
The Aliens M41A motion tracker. A circular scope whose sweep arm (one revolution every 4 s) lights up the real BRC map as it passes, with art and camp contacts pulsing behind it.
-
InstrumentBayScreen
MAP
The Alien Nostromo instrument bay. Bordered tiles: heading dial, speed gauge, ground-track map, cell and throttle gauges.
-
DriverNightScreen
DRIVER
A mostly-black OLED night HUD for the driver's phone. Thermal contacts as hollow wireframe figures in a forward perspective view, plus a nose-up surround ring carrying every contact all the way around the vehicle, plus minimal nav.
What is built
Map and navigation
- Black Rock City rendered from the bundled 2026 Innovate GIS — trash fence, streets,
plazas, city blocks, toilets, CPNs. Active year is one source of truth
(
GoldenSpike.ACTIVE = Y2026). - Two map modes:
TOP(orthographic, ego centred) andTILT(pitched 3D over a retro perspective grid). Drag to pan, pinch to zoom, two-finger twist to rotate. Heading and speed come from the GPS fix, never from tapping the map. - Drive-to: HOME, MAN, TEMPLE, BATH (nearest toilet, re-resolved live), or ADDR — type any city address on a full-screen keypad.
- Street-following routing with every corner snapped to a real vertex of the GIS street polylines, so the drawn route lies on the drawn streets instead of cutting through camps.
- Shared destination across the fleet — when one tablet sets a drive-to
target, every tablet adopts it over
$ZNAV, so the whole fleet's DRIVER HUD points the same way. The OLED tablets (S9+, A54) are automatic broadcast authorities; the two Fires follow. Detail → - Street-crossing popups and “passing” callouts for notable art within 120 m.
Sensing
- Five pluggable GPS sources behind one interface —
FAKE,SYSTEM,BLE,USB,NET.NETis the shipped fleet path and is verified end to end against the real beacon. - Automatic
NET → SYSTEMfailover on a device that has its own GNSS. NETalso parses the beacon's five proprietary sensor channels;$ZENVambient lux drives automatic screen dimming.- Threat contacts from the Jetson over
ZTHREAT, with an explicit feed state —LIVE/DEMO/ABSENT.
GPS sourcing → · Threats and the DRIVER HUD →
Displays and operations
- Passenger display: a self-running card carousel for riders.
- OLED burn-in mitigation: whole-UI pixel shift, brightness breathe and idle dim, and a four-phase idle escalation. Detail →
- Kiosk mode: device-owner lock task, lockscreen and automatic OS updates disabled, and the cockpit set as the device's Home app so a kiosked tablet relaunches itself after a reboot or power loss. Provisioning →
- On-device postmortem logging that counts everything it discards.
- Playa discovery: offline-first cache of the Burning Man API's art and camp records.
- Pre-rendered art imagery baked into the APK in the cockpit's phosphor treatment.
What is not built
FakeTransportAdapter is the only implementation of TransportAdapter
in the repository, and FakeTelemetryRepository the only production
TelemetryRepository. The transport chips, CONNECT / DISCONNECT buttons,
SetHeading / SetSpeed commands and the thermal / mode / link readouts
they feed are scaffolding for a vehicle bus that does not exist yet. Real vehicle data reaches the
app only through NetworkLocationSource (NMEA) and
NetworkThreatSource (ZTHREAT).
- MAP's
CELL Bgauge is a static, visibly dimmed Victron placeholder (VEHICLE PENDING) until the GX feed lands.CELL A(this device's battery) and the throttle trace are real. CockpitUiState.tiltDegis persisted and clamped but the renderer applies a compile-time 45° instead — a runtimerotationXwould not render in thatgraphicsLayeron the S9+.- Pinch/twist math is unit-tested (
PinchSession,MapGestureMath); the pointer-event plumbing inMapTouchInputis not.
The colour system
A strict semantic palette, set 2026-07-04, shared by all three concepts
(ui/concepts/ConceptTheme). This site's own chrome follows it.
| Colour | Hex | Means |
|---|---|---|
| Phosphor green | #00FF66 | All chrome — controls, borders, labels |
| Status blue | #00BFFF | Status only — link / GPS state, “this is selected” |
| Data purple | #C77DFF | Live data values — headings, speeds, clock, needles, ego marker |
| Dim green | #2C8A4A | De-emphasised secondary text |
| Alert red | #FF5555 | Faults and extreme warnings only |
Amber is banned. The DRIVER concept overrides these with its own dimmer night
set (#009E4A / #00421E / #B874E0 / #FF4848) for
dark adaptation. The ban reaches the hardware too: zdeck rejects the moving head's
amber colour-wheel slots at config construction, not merely by convention.
Converted fromREADME.md · ARCHITECTURE.md §4 · docs/BUILD.md §2