Skip to content

consider pickup_distance_from_top in STARBackend. move_picked_up_resource #490

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

Merged
merged 6 commits into from
May 7, 2025

Conversation

rickwierenga
Copy link
Member

this makes it easier to use lh.move_picked_up_resource with STARBackend

iswap arm takes the center location, not the lfb location

for z, we used to take the center of the resource but this is dumb

in order to get the plate lfb at the location the user requests, we need to add the plate height to requested locationg, then subtract pickup_distance_from_top

the logic is equivalent to that of drop_resource

@rickwierenga rickwierenga merged commit 56b08c2 into main May 7, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant