pylabrobot.formulatrix.mantis.driver.master.MantisDriver.request_absolute_encoder_position#

async MantisDriver.request_absolute_encoder_position(*, motor: int) → float#

An arm motor’s raw absolute encoder reading, from board 11; kept across power-off.

Not an angle yet: the unit’s encoder correction and absolute homing position make it one. A read the device marks not valid, as each motor’s first after connecting is, is read again.

Parameters:

motor (int) – 0 or 1 (arm).

Raises:

MantisTimeoutError – if none of ABSOLUTE_ENCODER_READS reads is valid.

Return type:

float