AFL.automation.vision.OT2RidingCam#

A Raspberry Pi camera driver mounted on an OT-2 gantry.

Classes

Driver(name[, defaults, overrides, ...])

OT2GantryDriver([overrides, ot2_prepare_ip, ...])

Translate gantry requests into OT2Prepare atomic-command queue tasks.

OT2RidingCam([camera, overrides, ...])

Combine the complete Pi camera and OT-2 gantry driver interfaces.

PiCameraDriver([camera, overrides, name, ...])

Capture still images from a Raspberry Pi camera.

class AFL.automation.vision.OT2RidingCam.OT2RidingCam(camera=None, overrides=None, ot2_prepare_ip=None, ot2_prepare_port=None)[source]#

Combine the complete Pi camera and OT-2 gantry driver interfaces.

The class directly inherits its public commands: camera capture, streaming, RGB and turbidity measurement come from PiCameraDriver; well and relative movement come from OT2GantryDriver. The gantry still uses its OT2Prepare proxy connection as designed.

__init__(camera=None, overrides=None, ot2_prepare_ip=None, ot2_prepare_port=None)[source]#

Initialize the local camera and inherited OT2 gantry proxy.

ot2_prepare_ip and ot2_prepare_port are forwarded to OT2GantryDriver and take precedence over overrides.