Skip to content

Commit

Permalink
fix origin & target for fast home should not include other axes (#13955)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahiuchingau authored and ncdiehl11 committed Nov 14, 2023
1 parent cc8cf3c commit 5db8863
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/src/opentrons/hardware_control/ot3api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1397,9 +1397,9 @@ async def _retrieve_home_position(
self, axis: Axis
) -> Tuple[OT3AxisMap[float], OT3AxisMap[float]]:
origin = await self._backend.update_position()
target_pos = {ax: pos for ax, pos in origin.items()}
target_pos.update({axis: self._backend.home_position()[axis]})
return origin, target_pos
origin_pos = {axis: origin[axis]}
target_pos = {axis: self._backend.home_position()[axis]}
return origin_pos, target_pos

@_adjust_high_throughput_z_current
async def _home_axis(self, axis: Axis) -> None:
Expand Down

0 comments on commit 5db8863

Please sign in to comment.