pylabrobot.formulatrix.mantis.driver.simulator.MantisSimulationArm.pick_up_chip#

async MantisSimulationArm.pick_up_chip(*, slot: int, with_model_updates: bool = False) → None#

Pick up the chip in a chip slot along the unit’s path into it, from wherever the head stands, and return to idle, as the recorded pick-ups do.

First the slot’s tag is read (_check_chip_slot_tag): the pick-up refuses an empty slot.

Parameters:
  • slot (int) – the chip slot, 1 to 6.

  • with_model_updates (bool) – play each segment on its own and pass the pose on after it, so the 3D model and the simulator follow the whole path; on a device up to 36% slower (design.md).

Raises:
  • MantisConfigurationError – without the slot’s path or an RFID reader; nothing is sent.

  • MantisMotionError – if the arm is not brought up, a chip is already on the head, or a motor faults; or if the tag rules the pick-up out, after the tag read only.

  • NotImplementedError – on a v3, until a v3 has run it; nothing is sent.

Return type:

None