dodal.devices.robot.BartRobot#

class dodal.devices.robot.BartRobot[source]#

The sample changing robot.

Parameters:
  • prefix (str)

  • name (str, default: '')

Methods

pin_mounted_or_no_pin_found()

This co-routine will finish when either a pin is detected or the robot gives an error saying no pin was found (whichever happens first).

set(value)

Perform a sample load from the specified sample location :type value: SampleLocation | None :param value: The pin and puck to load, or None to unload the sample.

Attributes

LIGHT_CURTAIN_TRIPPED

LOAD_TIMEOUT

LOAD_TOLERANCE_MM

NOT_BUSY_TIMEOUT

NO_PIN_ERROR_CODE

async pin_mounted_or_no_pin_found()[source]#

This co-routine will finish when either a pin is detected or the robot gives an error saying no pin was found (whichever happens first). In the case where no pin was found a RobotLoadError error is raised.

set(value: SampleLocation | None)[source]#

Perform a sample load from the specified sample location :type value: SampleLocation | None :param value: The pin and puck to load, or None to unload the sample.

Raises:

RobotLoadError if a timeout occurs, or if an error occurs loading the smaple.