Class MoveTank

Controls a pair of motors simultaneously, via individual speed setpoints for each motor.

Declaration

class MoveTank(MotorSet)
source link

Documentation

Example:

tank_drive = MoveTank(OUTPUT_A, OUTPUT_B)
# drive in a turn for 10 rotations of the outer motor
tank_drive.on_for_rotations(50, 75, 10)

Methods

Inherited methods

Subclasses

Reexports