Skip to content

Commit ce9e74a

Browse files
committed
allow door to be open when releasing the latch
1 parent 3635cb6 commit ce9e74a

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
@@ -543,7 +543,7 @@ export const RECOVERY_MAP_METADATA: RecoveryRouteStepMetadata = {
543543
},
544544
[ROBOT_RELEASING_LABWARE_LATCH.ROUTE]: {
545545
[ROBOT_RELEASING_LABWARE_LATCH.STEPS.RELEASING_LABWARE_LATCH]: {
546-
allowDoorOpen: false,
546+
allowDoorOpen: true,
547547
},
548548
},
549549
[ROBOT_RESUMING.ROUTE]: {

0 commit comments

Comments
 (0)