| ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|---|
Direction
- class Direction
Rotational direction for positive speed or angle values.
- COUNTERCLOCKWISE: Direction = 1
A positive speed value should make the motor move counterclockwise.
positive_direction =Positive speed:
Negative speed:
Direction.CLOCKWISEclockwise
counterclockwise
Direction.COUNTERCLOCKWISEcounterclockwise
clockwise
In general, clockwise is defined by looking at the motor shaft, just like looking at a clock. Some motors have two shafts. If in doubt, refer to the diagram in the
Motorclass documentation.