Skip to content

Commit 763d59b

Browse files
committed
allow door to be open when releasing the latch
1 parent dcc8129 commit 763d59b

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

app/src/organisms/ErrorRecoveryFlows/RecoveryInProgress.tsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -203,18 +203,7 @@ export function useReleaseLabware({
203203
RECOVERY_MAP.ROBOT_RELEASING_LABWARE_LATCH.ROUTE
204204
) {
205205
void releaseLabwareLatch().then(() => {
206-
if (isDoorOpen) {
207-
return handleMotionRouting(false).then(() => {
208-
proceedToDoorStep()
209-
})
210-
}
211-
212-
return handleMotionRouting(true)
213-
.then(() => homeExceptPlungers())
214-
.then(() => handleMotionRouting(false))
215-
.then(() => {
216-
proceedToValidNextStep()
217-
})
206+
proceedToValidNextStep()
218207
})
219208
} else {
220209
void releaseGripperJaws().then(() => {

app/src/organisms/ErrorRecoveryFlows/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ export const RECOVERY_MAP_METADATA: RecoveryRouteStepMetadata = {
531531
},
532532
[ROBOT_RELEASING_LABWARE_LATCH.ROUTE]: {
533533
[ROBOT_RELEASING_LABWARE_LATCH.STEPS.RELEASING_LABWARE_LATCH]: {
534-
allowDoorOpen: false,
534+
allowDoorOpen: true,
535535
},
536536
},
537537
[ROBOT_RESUMING.ROUTE]: {

0 commit comments

Comments
 (0)