[0.17.66] - Inserter preferring incorrect lane
[0.17.66] - Inserter preferring incorrect lane
I was messing about trying out train station layouts and I noticed something: In a basic splitter -> 2x 3-tile runout layout, one inserter pulls from the wrong lane; the result is that the draw is not lane-balanced. This doesn't match the documented behaviour on the wiki.
Here's a screenshot:
The inserter drawing from the highlighted tile is preferring to draw from the far lane, not the near one. This is asymmetric with the inserter directly below it, which correctly, on the mirrored curve, pulls from the outside lane. As a result there are four inserters pulling from the left lanes of the input belt, and only two from the right. Wiki suggests the inserters should be pulling from the near lane, which would result in balanced draw.
This behaviour is consistent across inserter types and capacities. Tested were normal inserters at stack size 1 and stack size 3, fast inserters at 3, and stack inserters at 12. In all cases the belt was saturated at the point in question.
Here's a screenshot:
The inserter drawing from the highlighted tile is preferring to draw from the far lane, not the near one. This is asymmetric with the inserter directly below it, which correctly, on the mirrored curve, pulls from the outside lane. As a result there are four inserters pulling from the left lanes of the input belt, and only two from the right. Wiki suggests the inserters should be pulling from the near lane, which would result in balanced draw.
This behaviour is consistent across inserter types and capacities. Tested were normal inserters at stack size 1 and stack size 3, fast inserters at 3, and stack inserters at 12. In all cases the belt was saturated at the point in question.
Re: [0.17.66] - Inserter preferring incorrect lane
Is it consistent between rotations or once again a case where a certain orientation behaves differently?
My Mods: mods.factorio.com
Re: [0.17.66] - Inserter preferring incorrect lane
Didn't it always work this way? Or is this something introduced in 0.17?
Re: [0.17.66] - Inserter preferring incorrect lane
It has always worked that way.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: [0.17.66] - Inserter preferring incorrect lane
Afaik, inserters put items on far side of a belt, and how they take items is undefined, so even if it would have worked differently in 0.16 and the behavior changed in 0.17, it wouldn't have been a bug.
Re: [0.17.66] - Inserter preferring incorrect lane
As long as it's consistent between blueprint rotations it's fine.
Even though I would prefer to fix this as the inconsistent behavior can be quite unintuitive, I'm marking it as minor issue
Even though I would prefer to fix this as the inconsistent behavior can be quite unintuitive, I'm marking it as minor issue
Re: [0.17.66] - Inserter preferring incorrect lane
According to Bilka's test run it is *not* consistent between rotations, though.
EDIT: Wait, where'd their post go...
Last edited by foamy on Mon Aug 26, 2019 12:07 pm, edited 1 time in total.
Re: [0.17.66] - Inserter preferring incorrect lane
They were not rotated correctly in that example(belts were not going the same way).
We just tested and they are rotationally consistent as far as blueprints are concerned.
Re: [0.17.66] - Inserter preferring incorrect lane
Sorry for causing confusion by deleting the posts, I didn't want to spread misinformation because I had somehow managed to set up 4 belts and inserters incorrectly. I have made the wiki more clear in regards to the lane preference:
If a belt is in the same orientation as the inserter, or a curve going towards the inserter and turning to a side, the inserter prefers taking from the left lane, from the belt's perspective.
If a belt is in the same orientation as the inserter, or a curve going towards the inserter and turning to a side, the inserter prefers taking from the left lane, from the belt's perspective.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: [0.17.66] - Inserter preferring incorrect lane
Ah. Yeah, just did the rotation test myself and it does, for the left-hand-turn, pick from the inside of the curve instead of the outside consistently regardless of rotation.
EDIT:
I can't speak for anyone else but the difference between the mirrored versions of the blueprint is unexpected behaviour even if not, strictly speaking, a bug. It also unbalances some very common and simple layouts (e.g. the train station stuff that I was looking at to start with) and doesn't match well with the output actions, which do both always put it on the far side. So you get this, starting from even seeding of both belts:
Re: [0.17.66] - Inserter preferring incorrect lane
Followup: I tested the other case of curves moving away from the inserter; they behave as expected and prefer to draw from the near lanes:
So, the counter-clockwise turn, moving items towards the inserter, is the odd man out here and the only one where the inserter prefers removing items from the far lane.
So, the counter-clockwise turn, moving items towards the inserter, is the odd man out here and the only one where the inserter prefers removing items from the far lane.
Re: [0.17.66] - Inserter preferring incorrect lane
2nd followup:
Which lane the inserters pull from can be influenced by construction order. Since this is now inconsistent behaviour I think I'm safe in saying it is not only unintended, but a genuine bug.
Which lane the inserters pull from can be influenced by construction order. Since this is now inconsistent behaviour I think I'm safe in saying it is not only unintended, but a genuine bug.
Re: [0.17.66] - Inserter preferring incorrect lane
Ugh.
Can you make a detailed report about it? We might still consider it a minor issue but if i have some detailed steps i'll take a look at it.
Re: [0.17.66] - Inserter preferring incorrect lane
(Note the first term is what
I think the inserter is using):
Edit: Added this:
The following lists which lane the insert picks from listed from left to right. I think the inserter is using):
- Outer/near/left lane
- Near lane
- Inner/right/far lane
- Near lane
- Left/inner/far lane
- Near/right/outer
- Left lane
- Right
- Near - lane nearest inserter
- Far - lane away from inserter
- Inner - lane on inner curve
- Outer - lane on outer curve
- Left - lane on left from inserter's perspective
- Right - lane on right from inserter's perspective
Edit: Added this:
Re: [0.17.66] - Inserter preferring incorrect lane
Left lane of belt is used for all curves (from the belt's perspective). Near lane is used for 2 and 4, the straight belts. Both of those are completely expected. Inserters 7 and 8 have belts going towards them, so they use the left lane of the belt (from the belt's perspective). All expected. All documented on the wiki.
Here's your list in my words:
Here's your list in my words:
- Left
- Near
- Left
- Near
- Left
- Left
- Left
- Left
- Near - lane nearest inserter
- Left - lane on left from belt's perspective
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: [0.17.66] - Inserter preferring incorrect lane
Inserter 7’s belt is going north, inserter 8’s belt is going south how is that towards?
Also 3 & 5 have different items in the left lane.
Last edited by Trebor on Mon Sep 02, 2019 8:04 pm, edited 1 time in total.
Re: [0.17.66] - Inserter preferring incorrect lane
I just forgot to add "away".
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: [0.17.66] - Inserter preferring incorrect lane
Last edited by Trebor on Mon Sep 02, 2019 8:14 pm, edited 1 time in total.
Re: [0.17.66] - Inserter preferring incorrect lane
All inserters prefer to take from the left belt lane (from the belt perspective) except those picking up from perpendicular belts. It's really that easy.https://wiki.factorio.com/Inserters#Inserters_and_transport_belts wrote: If the belt is the same/opposite orientation of the inserter or a curve, the inserter prefers taking from the left lane, from the belt's perspective.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: [0.17.66] - Inserter preferring incorrect lane
I haven't been able to consistently isolate and reproduce it yet -- but I do have a save where a counter-clockwise turning belt, with the inserter on the outside of the loop, was preferentially pulling from the outside lane of the belt, i.e. the right hand lane from the belt's perspective. I'll throw it into a dropbox link later today for you to look at. Rebuilding precisely the same arrangement can switch it back to left-hand draw, and I've gotten it to pull from the both the left and right hand in other, distinct arrangements, that depend (somehow) on how they are constructed.
Per @Bilka the right hand draw is not intended. Personally I think orientation *to the inserter* should govern things, i.e. to prefer the near lane to the inserter in all cases bar the head-on (where it can't be determined).