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

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

A motor’s servo encoder position, in the device’s units.

It counts only while the device is powered: after power-on it reads about 0 wherever the motor sits. request_absolute_encoder_position reads where an arm is.

Parameters:

motor (int) – 0, 1 (arm) or 2 (Z).

Return type:

float