Skip to content

Commit 1f60765

Browse files
authored
fix(api): stacker home routine should open latch before moving z up (#18997)
# Overview This fixes a bug surfaced in QA where a labware can get stuck in the latch and prevents the stacker shuttle from homing.
1 parent 4c4cb09 commit 1f60765

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/src/opentrons/hardware_control/modules/flex_stacker.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,8 @@ async def home_all(self, ignore_latch: bool = False) -> None:
616616
if not ignore_latch:
617617
if self.limit_switch_status[StackerAxis.Z] == StackerAxisState.UNKNOWN:
618618
if self.latch_state == LatchState.OPENED:
619+
# let's make sure the latch is opened all the way before homging the Z
620+
await self.open_latch()
619621
# self.latch_state is OPENED, so we need to home Z in the EXTEND direction
620622
await self.home_axis(StackerAxis.Z, Direction.EXTEND)
621623
await self.close_latch()

0 commit comments

Comments
 (0)