When running two traffic lights, eventually they will go out of sync and switch to "maintenance mode"
STEPS TO REPRODUCE
- start two traffic lights
- wait a couple of minutes
CURRENT RESULT
- "maintenance/blink mode" will be activated by one of the lights, taking the other one with it
EXPECTED RESULT
- both should just run as normal, handing off / releasing the intersection for one another
ADDITIONAL NOTES
- most likely, one of the sent commands is not received (properly) by the other which will trigger maintenance mode due to timeout
- this might be mitigated by repeatedly sending the "red" and "release intersection" until the other light responds with "standby" and "prepare green" respectively
- maybe rename "prepare green" to "take intersection"
When running two traffic lights, eventually they will go out of sync and switch to "maintenance mode"
STEPS TO REPRODUCE
CURRENT RESULT
EXPECTED RESULT
ADDITIONAL NOTES