pylabrobot.brooks.precise_flex.PreciseFlexSimulationDriver.setup#

async PreciseFlexSimulationDriver.setup(skip_home: bool = False, skip_vision_setup: bool = False)#

Bring the arm fully up: connect, initialize, then home unless skipped.

initialize reads the configuration, and setup raises if that fails. The arm is then modelled, before homing so the jaws’ opening is checked, axes outside their limits are dealt with, and, when the controller has an IntelliGuide vision module, the vision feature is built as self.vision.

A setup that fails or is interrupted hands the arm back and closes its links, as disconnect does, each step on its own: the controller takes one connection and refuses the next while one is open. The setup’s own error is the one raised.

Parameters:
  • skip_home (bool) – If True, skip the homing step during setup.

  • skip_vision_setup (bool) – If True, leave self.vision unset even when a vision module is detected. Mirrors STAR’s skip_* setup flags.