[kovarex] [0.17.64] Train Signal Continues Sending Its Signals When "Closed" By Circuit Network Signal and is Present
Posted: Sat Aug 10, 2019 7:34 pm
While attempting to create a safe train crossing gate system, I noticed the following bug in my train signal behavior:
Setup:
1. Regular train signals: "A" and "B", where signal "A" is before signal "B" in terms of handling approaching trains in that order
2. Signal "B" becomes "closed" by a circuit network signal
3. When an automatic train stops for signal B because it's "closed" (forced red) by a circuit network condition, signal "A" remains yellow (or sometimes red, depending on distance between signals) due to the presence of this train
4. (This bug, I think): If signal "A" subsequently receives a "close signal" from another circuit network condition becoming true while the train is occupying its block, signal "A" continues broadcasting its signals; and if it was yellow, it continues to appear yellow, which I think is incorrect.
Here are my screenshots showing the basic problem:
1. This selected signal is set to close when it receives a purple color signal; it's closed correctly now (attached light is correctly out) when a train is NOT present on its guarded block:
2. This same signal is now yellow and still broadcasting a yellow signal (attached light is yellow) when a train is present because the train was stopped by the red "closed" signal ahead of it. This signal should be closed and should cease broadcasting at this point:
Blueprint for my testcase and these screenshots:
Testcase:
1. Place the above blueprint and train; connect everything to a power source
2. Make sure the train is configured to go to both stops
3. Fuel the train and set it to "automatic"
4. Approach the horizontal gate from the right hand side and stay to the right to avoid setting activating the other vertical gate on the left (for now)
5. Wait for the train to approach and stop at the now-closed signal from the horizontal gate
* Observe that the closed signal correctly ceases broadcasting its color signals
6. Walk to the left to trigger the vertical gate so it broadcasts a purple color circuit network signal which should "close" the left-hand signal
* Observe that the left-hand signal is still broadcasting a "yellow" color signal to its attached light, and the left-hand signal appears yellow instead of red
Expected results:
This signal should change to red, and cease broadcasting any of its color signals under these conditions.
Setup:
1. Regular train signals: "A" and "B", where signal "A" is before signal "B" in terms of handling approaching trains in that order
2. Signal "B" becomes "closed" by a circuit network signal
3. When an automatic train stops for signal B because it's "closed" (forced red) by a circuit network condition, signal "A" remains yellow (or sometimes red, depending on distance between signals) due to the presence of this train
4. (This bug, I think): If signal "A" subsequently receives a "close signal" from another circuit network condition becoming true while the train is occupying its block, signal "A" continues broadcasting its signals; and if it was yellow, it continues to appear yellow, which I think is incorrect.
Here are my screenshots showing the basic problem:
1. This selected signal is set to close when it receives a purple color signal; it's closed correctly now (attached light is correctly out) when a train is NOT present on its guarded block:
2. This same signal is now yellow and still broadcasting a yellow signal (attached light is yellow) when a train is present because the train was stopped by the red "closed" signal ahead of it. This signal should be closed and should cease broadcasting at this point:
Blueprint for my testcase and these screenshots:
Testcase:
1. Place the above blueprint and train; connect everything to a power source
2. Make sure the train is configured to go to both stops
3. Fuel the train and set it to "automatic"
4. Approach the horizontal gate from the right hand side and stay to the right to avoid setting activating the other vertical gate on the left (for now)
5. Wait for the train to approach and stop at the now-closed signal from the horizontal gate
* Observe that the closed signal correctly ceases broadcasting its color signals
6. Walk to the left to trigger the vertical gate so it broadcasts a purple color circuit network signal which should "close" the left-hand signal
* Observe that the left-hand signal is still broadcasting a "yellow" color signal to its attached light, and the left-hand signal appears yellow instead of red
Expected results:
This signal should change to red, and cease broadcasting any of its color signals under these conditions.