jacdac.dual_motors

Submodules

Package Contents

Classes

DualMotorsClient

A synchronized pair of motors.

class jacdac.dual_motors.DualMotorsClient(bus: jacdac.bus.Bus, role: str)

Bases: jacdac.bus.Client

A synchronized pair of motors. Implements a client for the Dual Motors service.

property speed: Tuple[float, float] | None

Relative speed of the motors. Use positive/negative values to run the motor forwards and backwards. A speed of 0 while enabled acts as brake., left: /,right: /

property enabled: bool | None

Turn the power to the motors on/off.,

property load_torque: float | None

(Optional) Torque required to produce the rated power of an each electrical motor at load speed., _: kg/cm

property load_rotation_speed: float | None

(Optional) Revolutions per minute of the motor under full load., _: rpm

property reversible: bool | None

(Optional) Indicates if the motors can run backwards.,