From 408f2506141e6eaede9b4b3082945a469e039e9d Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Fri, 18 Oct 2024 23:50:34 +0200 Subject: [PATCH] Feat: add autostart state to lanes --- RaceState.proto | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/RaceState.proto b/RaceState.proto index f48ffc2..14e4ecf 100644 --- a/RaceState.proto +++ b/RaceState.proto @@ -21,6 +21,13 @@ message LaneFullState { State state = 1; uint32 reactionTime = 2; uint32 climbingTime = 3; + + // This is only relevant in training mode! + // If this stays `true` for at least the configured autostart + // standstillDurationBeforeStart, an autostart will be executed. + // Once this becomes true, clients should display indicate it and + // optionally show a countdown. + bool autostartPending = 4; } message RaceFullState {