Status bar: part lamps (CAN, OBD, IMU, CAM), drawn signal and battery icons
WiFi and LTE show signal in four steps with Android's traffic arrows; the battery is filled to its level in good (charging), caution (under 40 %) or alarm (under 20 %). OBD, IMU and CAM are lamps by CAN's rule; CAM reads orin-status' new cam_up and vision_up. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -12,12 +12,21 @@ what the Orin publishes.
|
||||
|
||||
## 1. Orin status in a top banner, like a phone's
|
||||
|
||||
**First cut (2026-10-15):** `widgets/status_bar.dart`, drawn by the shell over every view (the
|
||||
**Built (2026-10-15):** `widgets/status_bar.dart`, drawn by the shell over every view (the
|
||||
Dash's own top line is gone; its menu button moved in). Left: the menu (Dash only) and the
|
||||
link. Right: Orin temperature (only from 80 °C), CAN (alarm when absent or bus-off), OBD
|
||||
(only while the ELM is connected), GNSS fix icon and satellite count, LTE bars and
|
||||
technology (only with a modem), WiFi bars, UPS battery and % (caution on battery, alarm
|
||||
under 20 %), then the dark/bright button. Tapping the strip does nothing yet.
|
||||
link. Right:
|
||||
- Orin temperature, only from 80 °C.
|
||||
- Lamps for the parts, by one rule (foreground up, caution degraded, alarm down, subdued
|
||||
unknown): CAN (`can_up`, bus state), OBD (`elm_connected`), IMU (its values fresh or
|
||||
stale), CAM (`cam_up`, caution when `vision_up` is false; both new in orin-status).
|
||||
- GNSS fix icon and satellite count.
|
||||
- LTE (only with a modem) and WiFi: signal in four steps, Android's up/down traffic arrows
|
||||
(lit above 2 kbit/s).
|
||||
- UPS battery, filled to its level: good while charging, caution under 40 %, alarm under
|
||||
20 %, foreground otherwise.
|
||||
- The dark/bright button.
|
||||
|
||||
Tapping the strip does nothing yet.
|
||||
What was asked:
|
||||
|
||||
A thin strip across the top of the app (the Dash's own top line included) showing the Orin
|
||||
|
||||
Reference in New Issue
Block a user