pylabrobot.formulatrix.mantis.driver.simulator.MantisSimulationDriver.stop#

async MantisSimulationDriver.stop(accept_chip_left_on_head: bool = False) → None#

Fail the command in flight and every event waiter; abort the sequencer, stop the motors and park a v4 arm brought up; release the plate clamp and the pressure, turn the LED bar off, stop reading the link and close it.

Each step runs whether or not the one before it succeeded. After reading the link failed, nothing is sent: the link is closed.

Parameters:

accept_chip_left_on_head (bool) – stop with a chip on the head instead of refusing.

Raises:

MantisMotionError – if a chip is on the head, unless accept_chip_left_on_head; every motor is stopped, the arm stays where it stopped, brought up, and the link stays open for Arm.return_chip.

Return type:

None