fix: pass returnToOperational:true for shutdown/estop abort path
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -883,7 +883,7 @@ _callMeasurementHandler(measurementType, value, position, context) {
|
||||
if (interruptible.has(sequenceName) &&
|
||||
(currentState === "accelerating" || currentState === "decelerating")) {
|
||||
this.logger.warn(`Sequence '${sequenceName}' requested during '${currentState}'. Aborting active movement.`);
|
||||
this.state.abortCurrentMovement(`${sequenceName} sequence requested`);
|
||||
this.state.abortCurrentMovement(`${sequenceName} sequence requested`, { returnToOperational: true });
|
||||
await this._waitForOperational(2000);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user