The fourth row stays blank for a few seconds after a message has passed #5
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 twice on 2026-11-22: once on
v0.1.3("after it scrolled, the fourth row stayed blank for a few seconds before scrolling the message again"), and again at about 14:14 on the S3 running a developer build ofv0.1.4(0.1.4-1-g50fa1b0), Forest Hills, Orange Line.Expected. When a message has passed, the last train has the bottom row back until the next pass.
What was active the second time. Read from MBTA at 14:16, two minutes after:
The agent's first explanation is not enough. After the first sighting the agent told the owner the blank row was the rest between passes at a stop with only three trains, and changed nothing. With four departures predicted that does not explain the second sighting. Not ruled out: that the sign had fewer than four rows to show at that moment for another reason (a train just departed and dropped, a prediction the label rules hide).
Where to look.
SignCore::takeTurnsand the end ofSignCore::renderinfirmware/lib/sign_core/src/sign_core.cpp: the room for rows isrowsFor(font) - (statusLine.empty() ? 0 : 1), so a status line that is set but draws nothing (a pass that has ended but still holds the row, a line whose text is off the panel at the start or end of its pass, the hand-over between two movers) would leave the row blank. The time each pass takes against the time its text needs to leave the panel is worth measuring.To do. Reproduce in the simulator from the collector's record of that minute (predictions and alerts for the stop around 14:10 to 14:16 on 2026-11-22), find which of the above it is, add a scenario and a test that fail on it, then fix.
Not known: how long the row was blank, whether a message was about to pass or had just passed, and whether the dot was lit. Related: #4 (several messages at once).
More from the owner, 2026-11-22, about 14:20, watching the S3 (their words): "it is blank for roughly 20 seconds, it comes after the message, although currently it seems to be happening after each scrolling message."
So it repeats on every pass under the conditions of that afternoon (one delay alert for the stop, four or more departures predicted), which should make it reproducible in the simulator from the collector's record of 14:10 to 14:25.
About 20 seconds is most of the 30-second rest that
v0.1.4put between two passes. Worth checking first: whether the row is blank for the whole rest and the train never comes back, or comes back for the last part of it; onv0.1.3, with an 8-second rest, the owner saw "a few seconds", which fits a blank that lasts a fixed share of the rest, or the whole of it.Found and fixed, 2026-11-23 (on
main, commit65bb2ef, not yet pushed).Cause. I replayed the collector's record of 14:05 to 14:20 that afternoon in the simulator, with the delay alert as MBTA then had it. The bottom row was dark for each whole 30-second rest from 14:05:40 to 14:08:12, and again from 14:14:49. The sign had three trains for four rows. The fourth was the train standing at the platform (track
Forest Hills-01). Its vehicle wasSTOPPED_ATthere, while MBTA's departure time for it trailed the clock by a few seconds at every answer ("Trains may stand by at stations"). The sign hid every departure whose time had passed. MBTA's guidelines hide one only when there is no vehicle data.Fix (OpenSpec change
keep-a-train-at-the-platform):replay-forest-hills-delay, keeps that afternoon, and a test fails on the old rule. In the old rush-hour replays, trains standing at their platforms past their times now show as BRD at Park Street and Forest Hills.What stays. From 14:16:33 to 14:18:03 that afternoon MBTA predicted only three trains. With nothing to show there, the bottom row is empty between passes, as it should be.
Summary: done, released in v0.1.5 (merged to
mainin65bb2ef; v0.1.5 published 2026-11-23; both signs run it).STOPPED_ATthe platform while MBTA's departure time for it trailed the clock by a few seconds. The sign hid every past departure, which left three trains for four rows, so the bottom row was blank between the alert's passes.replay-forest-hills-delay, with a test that fails on the old rule. In the old rush-hour replays, trains standing at their platforms past their times now show as BRD.openspec/changes/keep-a-train-at-the-platform.