jacdac.motor.client
Module Contents
Classes
A DC motor. |
- class jacdac.motor.client.MotorClient(bus: jacdac.bus.Bus, role: str)
Bases:
jacdac.bus.ClientA DC motor. Implements a client for the Motor service.
- property speed: float | None
Relative speed of the motor. Use positive/negative values to run the motor forwards and backwards. Positive is recommended to be clockwise rotation and negative counterclockwise. A speed of
0whileenabledacts as brake., _: /
- property load_torque: float | None
(Optional) Torque required to produce the rated power of an electrical motor at load speed., _: kg/cm