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

iSWAP drop width adjustment #362

Merged
merged 4 commits into from
Jan 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions pylabrobot/liquid_handling/backends/hamilton/STAR.py
Original file line number Diff line number Diff line change
Expand Up @@ -2922,10 +2922,7 @@ async def drop_resource(
# clearance height is second down.

if hotel_open_gripper_position is None:
if drop.direction in (GripDirection.FRONT, GripDirection.BACK):
hotel_open_gripper_position = drop.resource.get_absolute_size_x() + 50
else:
hotel_open_gripper_position = drop.resource.get_absolute_size_y() + 50
hotel_open_gripper_position = plate_width + 5

await self.unsafe.put_in_hotel(
hotel_center_x_coord=round(abs(x) * 10),
Expand Down
Loading