Solution Train Collision - Step 2

prev this next

There is a bug in the signal controller which lets the middle signal try to reset the upper signal because it received a reset signal itself and was not in the exception state. The problem is that the controller can not resolve properly the simoultaneous occurence of a train crossing a red signal while this red signal is reset. The middle signal still assumes that a train has crossed the red signal and the train is forced to an emergency halt.