pylabrobot.formulatrix.mantis.driver.arm_kinematics.compute_device_rate#

pylabrobot.formulatrix.mantis.driver.arm_kinematics.compute_device_rate(*, motor: int, rate: float) → float#

A speed or an acceleration in device units, rounded up half a step as on the wire.

Parameters:
  • motor (int) – 0, 1 (arm, degrees/s or degrees/s²) or 2 (Z, mm/s or mm/s²).

  • rate (float) – the speed or acceleration; 0 stays 0, a motor that does not move.

Return type:

float