Skip to content

Commit

Permalink
fix(app): home gripper G during recovery (#16928)
Browse files Browse the repository at this point in the history
Closes RQA-3645

Recent gripper firmware changes add new degrees of G axis "home" state, and this ultimately causes the unsafe/ungripLabware command to fail, since a successful completion of the ungrip does not set the HOME flag. Because we ultimately want to ungrip the labware AND home the gripper G axis, let's use a parameterized home command instead.
  • Loading branch information
mjhuff authored Nov 21, 2024
1 parent b980fd2 commit d8ad367
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export function useRecoveryCommands({
} = useUpdateErrorRecoveryPolicy(runId)
const { makeSuccessToast } = recoveryToastUtils

// TODO(jh, 11-21-24): Some commands return a 200 with an error body. We should catch these and propagate the error.
const chainRunRecoveryCommands = useCallback(
(
commands: CreateCommand[],
Expand Down Expand Up @@ -354,8 +355,8 @@ export const HOME_PIPETTE_Z_AXES: CreateCommand = {
}

export const RELEASE_GRIPPER_JAW: CreateCommand = {
commandType: 'unsafe/ungripLabware',
params: {},
commandType: 'home',
params: { axes: ['extensionJaw'] },
intent: 'fixit',
}

Expand Down

0 comments on commit d8ad367

Please sign in to comment.