Several messages at once: the dot shows only the most serious, and how they share the turns #4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Seen by the owner on the panel, 2026-11-22, on
v0.1.4: a yellow warning message and a red "train stopped x stops away" message were active together. The dot in the top left corner was red; nothing showed that a yellow message was active too.The owner: "Currently it appears that the red dot takes priority, and hides the yellow dot. We should explore designs to possibly shrink the dot down to a single pulsing LED, so we could reserve 3 leds to at least show that 3 types of alarms are active (red, yellow, gray). Also though, I'm not sure we have built any logic to handle multiple messages being scrolled on the bottom row, so this ticket will explore and design how it should work."
This ticket is to explore and design; nothing is to be built until the owner has chosen from pictures.
What the sign does today
SignCore::renderinfirmware/lib/sign_core/src/sign_core.cpp, therank).SignCore::takeTurns): one thing passes at a time, in the order a warning too wide for the row, then each alert, then each stopped train's row, with the page at rest between two passes (8 seconds before the first, 30 between passes sincev0.1.4). A warning and an alert pass along the bottom row; a stopped train's status passes along its own row.look-alerts-two,warn-alerts-two-stops). None plays a warning, an alert and a stopped train together.To explore
Related: #3 (a stopped train's row at rest), #2 (smoother scrolling).
This work is being done on #16
Done in v0.1.11 (commit
bd8000e), together with #16, OpenSpec changealerts-with-their-stop.The dot: look C
The owner chose from a demo page that played eleven looks side by side with the sign's own code, in five situations: https://claude.ai/artifact/9zeVA5zmyEak6m9K59Rqnc (private).
The owner's words: "I still prefer C, lets go with that."
C: the dot keeps its place, size and breathing. Each kind present takes a breath in turn, most serious first: red (a suspension, shuttle or closure, or a stopped train), then yellow (any other alert, or a warning that passes), then grey (planned work). The colour changes only where the breath is dimmest. While a message passes, the dot is that message's colour. With one kind it is as before.
The other questions
look-warning-alert-and-stopped-train. The warning cuts the delay short and passes at once, the stopped train's row passes in grey, the dot breathes yellow and grey in turn, and the delay passes again once the data is back.How it was checked
look-alerts-three-kinds(red, yellow and grey in turn),look-alert-and-stopped-train(the sighting of 2026-11-22),look-warning-alert-and-stopped-train.test_the_dots_colour_is_each_kinds_in_turn,test_the_dot_takes_each_kinds_colour_in_turn, andtest_a_stopped_trains_row_takes_turns_with_an_alertupdated.pio test -e native292 of 292,native_asan292 of 292,program check309 checkpoints with 0 differences, the browser build 308 with 0 differences, and both boards build (static RAM unchanged on both). CI passed on the commit.Release
v0.1.11was published on 2026-12-01 at 15:58 Boston time, with all seven files. Each sign installs it at its next nightly check (03:00 to 03:59 Boston time), or a minute after its first trains the next time it starts.