You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happens:
Reservations for Trains don't get cleared out when a fault is inserted and everything is calculated again.
What is the expected behavior:
The reservations on every track and on every train should be reset
If not VERY clear: Why is this a problem:
This will most likely lead to trains being stuck after a fault is inserted due to the trains reserved_tracks having a duplicate of the route the train will drive. Also, having too many reservations on a track may lead to unexpected behavior or to some features not working (crossing reserved route)
Steps For Reproduction
I have not tried it, but:
run a simulation
have trains pass multiple platforms
insert the fault right after the train spawned
I think it will break after the train has reached the first platform on its trip
The text was updated successfully, but these errors were encountered:
Bug: Fault-Injection does not clear reservations
Problem Description
Reservations for Trains don't get cleared out when a fault is inserted and everything is calculated again.
The reservations on every track and on every train should be reset
This will most likely lead to trains being stuck after a fault is inserted due to the trains
reserved_tracks
having a duplicate of the route the train will drive. Also, having too many reservations on a track may lead to unexpected behavior or to some features not working (crossing reserved route)Steps For Reproduction
I have not tried it, but:
The text was updated successfully, but these errors were encountered: