Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logistics drones sometimes return items to the dock (specific structure) #1777

Open
Darek505 opened this issue Nov 23, 2024 · 1 comment
Open
Labels

Comments

@Darek505
Copy link

Title

I noticed that this does not always happen, but I managed to create a structure in which this happens all the time:

0002024-11-23_21 57 23

The numbers indicate the distance in blocks,
waypoint and requester are on the same line

What is the problem:

When you put an item in the provider, which is also present in the requester , the drone will fly out to deliver it from the provider to the requester .

However, in this structure , the drone flies to the requester, but without unloading it goes to the dock, and there, it leaves the item that was supposed to be delivered to the requester .

What is noteworthy is that if the dock was full, the drone returns to it with an unloaded box, the item will simply disappear

Video with the problem:

2024-11-23.21-56-18.mp4

World, with the structure already completed:

World.zip

Additional:

This does not happen with transport drones, only logistic ones

This does not happen always in other structures, but can happen by accident

Sometimes, the drone can simply drop when approaching the dock, if at that moment it was transporting items to it (this bug) the items will disappear

@HbmMods HbmMods added the bug label Nov 25, 2024
@HbmMods
Copy link
Owner

HbmMods commented Nov 25, 2024

I think I see the issue, if the target (in this case the requester) is closer to the drone than its stepsize (i.e. distance traveled per tick, for logi drones that's 0.6) it will simply cancel the step instead of shortening it, which means that depending on the angle of approach and the position of the drone before reaching the stop, it may fall short just enough to not detect the crate while still considering the waypoint to be reached. This issue may also cause the rare phenomenon where transport drones get stuck on waypoints, because they just can't move forward enough to reach it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants