Self Deadlocking Train

Things that has been reported already before.
Post Reply
gexxo
Inserter
Inserter
Posts: 35
Joined: Thu Feb 23, 2017 6:44 pm
Contact:

Self Deadlocking Train

Post by gexxo »

See this image:
Image

This is a double lane crossroads. The train comes from above and decides it might be the best idea to make a looping in the crossroads before continuing downwards. This however insteadly deadlocks the train. Note that the train would have enough options to go a different way, but it stubbornly keeps waiting for itself instead of just picking another path.

This behavior is very unfortunate and happens sometimes. When other trains pass, sometimes the train will reroute to another path and will get unstuck. This shows that it seems to be indeed possible even with the current algorithm to simply pick another path.

Possible fix: Try to reroute when a train encounters it is waiting for itself.

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2915
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: Self Deadlocking Train

Post by Optera »

Possible Fix: Don't build roundabouts.
See also: viewtopic.php?f=194&t=46855&hilit=roundabout and a lot more threads dealing with deadlock free intersections.

Loewchen
Global Moderator
Global Moderator
Posts: 8284
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Self Deadlocking Train

Post by Loewchen »

Duplicate of: 22939.

Post Reply

Return to “Duplicates”