Skip to content

Commit

Permalink
update motor status when updating motor position
Browse files Browse the repository at this point in the history
  • Loading branch information
TamarZanzouri committed Nov 19, 2024
1 parent 30a679e commit 775bf38
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/src/opentrons/hardware_control/ot3api.py
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ async def _update_position_estimation(
"""
Function to update motor estimation for a set of axes
"""

await self._backend.update_motor_status()
if axes:
checked_axes = [ax for ax in axes if ax in Axis]
else:
Expand Down Expand Up @@ -1587,7 +1587,6 @@ async def _home_axis(self, axis: Axis) -> None:

async def _home(self, axes: Sequence[Axis]) -> None:
"""Home one axis at a time."""
await self._backend.update_motor_status()
for axis in axes:
try:
if axis == Axis.G:
Expand Down

0 comments on commit 775bf38

Please sign in to comment.