Skip to content

Commit

Permalink
fix(api): move axes separately in movetomaint
Browse files Browse the repository at this point in the history
I don't know why this would stop working now, but something we did makes
the right mount move faster than the left mount when we're moving to the
maintenance position to detach the 96 mount plate, so it trips over its
own feet.
  • Loading branch information
sfoster1 committed Aug 30, 2024
1 parent 7108e8e commit 46d6295
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,15 @@ async def execute(
await ot3_api.move_axes(
{
Axis.Z_L: max_motion_range + _LEFT_MOUNT_Z_MARGIN,
}
)
await ot3_api.disengage_axes([Axis.Z_L])
await ot3_api.move_axes(
{
Axis.Z_R: max_motion_range + _RIGHT_MOUNT_Z_MARGIN,
}
)
await ot3_api.disengage_axes([Axis.Z_L, Axis.Z_R])
await ot3_api.disengage_axes([Axis.Z_R])

return SuccessData(public=MoveToMaintenancePositionResult(), private=None)

Expand Down

0 comments on commit 46d6295

Please sign in to comment.