Skip to content

Commit

Permalink
fix(api): disable motors during the pipette attach and detach position
Browse files Browse the repository at this point in the history
We don't know what pipettes are attached on the hardware controller side until we actually detect
  • Loading branch information
Laura-Danielle committed May 23, 2023
1 parent 4c68ff5 commit 28eb29a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from pydantic import BaseModel, Field

from opentrons.types import MountType, Point
from opentrons.hardware_control.types import CriticalPoint
from opentrons.hardware_control.types import CriticalPoint, Axis
from opentrons.protocol_engine.commands.command import (
AbstractCommandImpl,
BaseCommand,
Expand Down Expand Up @@ -72,6 +72,7 @@ async def execute(
critical_point=CriticalPoint.MOUNT,
)

await self._hardware_api.disengage_axes([Axis.Z, Axis.A])
return MoveToMaintenancePositionResult()


Expand Down

0 comments on commit 28eb29a

Please sign in to comment.