[kovarex] [for 0.16] [0.12.26] Train stops at signal while path is free.

This subforum contains all the issues which we already resolved.
DutchJer
Long Handed Inserter
Long Handed Inserter
Posts: 65
Joined: Sat Feb 13, 2016 8:43 am

[kovarex] [for 0.16] [0.12.26] Train stops at signal while path is free.

Post by DutchJer »

Hi, I was streaming today, and i noticed that my train just stopped at a railsignal, the next blocks were completely free. It happend to me earlier. I dont have any ideas about what is happening, but ill drop my highlight here.

http://www.twitch.tv/dutchjer/v/54630687
sillyfly
Smart Inserter
Smart Inserter
Posts: 1101
Joined: Sun May 04, 2014 11:29 am
Contact:

Re: [0.12.26] Train stopping at railsignal

Post by sillyfly »

This happens quite a lot, but I'm not sure if it will be considered a bug.

What I think is happening is the block was taken, so the train decided it would need to stop there, and slowed down. By the time it got to the signal the block was already free, but the train was already programmed to stop.

It is required for trains to take this into account in advance, as it takes time to decelerate and stop. Theoretically a train could re-accelerate the moment the signal changes state (or at least recalculate if it indeed needs to stop), but I think this is not done due to optimization considerations.
User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: [0.12.26] Train stopping at railsignal

Post by HanziQ »

This is a known issue, the train decides to stop, because the block was occupied, but doesn't notice, that it can continue, because the other train left. I will visit this with my train fixes/refactoring.
DutchJer
Long Handed Inserter
Long Handed Inserter
Posts: 65
Joined: Sat Feb 13, 2016 8:43 am

Re: [0.12.26] Train stopping at railsignal

Post by DutchJer »

Nice, Okay thanks Hanziq, keep up the good work <3
Loewchen
Global Moderator
Global Moderator
Posts: 9165
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.12.26] Train stopping at railsignal

Post by Loewchen »

See here as well: viewtopic.php?f=7&t=32591
Edit: Maybe same cause but not the same issue.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] [for 0.16] [0.12.26] Train stops at signal while path is free.

Post by kovarex »

I believe, that this was fix a long time ago.
Post Reply

Return to “Resolved Problems and Bugs”