pylabrobot.formulatrix.mantis.driver.configuration.DeviceConfiguration#
- class pylabrobot.formulatrix.mantis.driver.configuration.DeviceConfiguration(generation: ~typing.Literal['v3', 'v4'] | None = None, firmware_versions: ~typing.Dict[int, str | None] = <factory>, feedback_sensor_parameters: ~typing.Dict[~typing.Literal['bottle', 'chip', 'vacuum'], ~typing.Tuple[float, float]] = <factory>)#
Bases:
objectWhat the device reported about itself.
- Variables:
generation (Literal['v3', 'v4'] | None) – “v4” if board 11 answered the version read, else “v3”; None until read.
firmware_versions (Dict[int, str | None]) – each board’s firmware version, by board; None for a board that did not answer.
feedback_sensor_parameters (Dict[Literal['bottle', 'chip', 'vacuum'], Tuple[float, float]]) – each pressure controller’s feedback sensor (scale, offset), by controller name (
PRESSURE_CONTROLLERS), not by its index as the motors are; as the pressure board holds them, empty without one. Read at every setup, never saved.
- Parameters:
Attributes
Methods
__init__(generation, ] | None = None, ...)