App 2.23.0: Overview styles Retro and Futuristic; read every 0.2 s

Retro: an 80s vacuum fluorescent cluster with seven-segment digits,
bar graphs and a lit P R N D selector. Futuristic: a hairline HUD with
an animated energy flow between battery and wheel, a turning speed ring
and a power arc. Both show unread values as dashes. The Overview now
reads the car five times a second. Emulator only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LhzAVaUyqcw5PkGjz4mWW6
This commit is contained in:
2026-10-24 19:32:07 +02:00
co-authored by Claude Opus 5.5
parent c649ff6e28
commit d9f6e368cf
16 changed files with 779 additions and 10 deletions
+16
View File
@@ -131,6 +131,22 @@ tyre pressures, GPS (lat, lon, elevation, heading) and the is_* flags. It does *
confirmed car facts, app structure, UI conventions, build/test/ship, documents. It replaces
upstream's EVABRPUploader text. The test emulator is now in the flake: `nix run .#car-emulator`
(Android 9 AOSP at 1920×720, 160 dpi; the car build installs as the system user — checked).
- 2026-10-24 — App 2.23.0 (branch `styles-retro-future`): two more Overview styles, each one
Canvas view fed a `ClusterValues` per reading. **Retro** (`RetroView`): an 80s digital cluster
as a vacuum fluorescent display — slanted seven-segment digits (`SevenSegment`, unit-tested)
with the unlit segments faintly visible, amber labels, a lit P R N D selector, the speed large,
power as a −50…150 kW bar (regeneration green), charge as a vertical bar (red below 20 %),
range, 5-minute and since-start usage, trip, climate, clock and odometer; its fixed palette is
`retro_*` in colors.xml (a style's own colours, not the accent). **Futuristic** (`FlowView`): a
hairline HUD in the accent colour — a battery capsule of scan lines, an energy channel whose
particles flow to the wheel while drawing and back in green while regenerating (faster with
more power), the speed inside a ring of dashes that turns with the speed and a power arc,
P R N D in a column, and a readout line. It animates at about 30 frames a second only while
power or speed is non-zero and the view is shown. Unread values show dashes and light or move
nothing in both. The Overview now reads the car every 0.2 s instead of 0.5 s (a read still
running skips the tick, as before). Checked on the emulator with sample values in a throwaway
build (`screenshots/nilsmg4-2.23.0-retro.png`, `…-futuristic.png`) and without data through
the real setting; no crash. Not tried on the car, including the 0.2 s reading rate.
- 2026-10-24 — App 2.22.3: the Overview style "Dashboard" is now called "Gauges" (stored as
`GAUGES`; the old value `DASHBOARD` still selects it, so the choice survives the update;
`pane_dashboard.xml` is `pane_gauges.xml`). The branches `dashboard-gauges` and