Open berland opened 1 month ago
stateDiagram-v2
[*] --> waitingForHeartbeat : booting
waitingForHeartbeat-->ready : Received 'h'
ready-->waitAck : Button pressed
ready --> ready : Received 'h'
ready-->inputLocked : Recived 't'
ready-->actLocked : error happened
ready-->actLocked : Recieved 'e', or 'l'
waitAck --> ready : received 'a'
waitAck --> actLocked : timeout
inputLocked --> ready : timeout
actLocked --> waitingForHeartbeat : recieved 'r'