Motor Control
Get your robot moving with the Sumo Helpers
import time
import BBRSumoClass
sumo = BBRSumoClass.BBRSumo()
#go forwards
sumo.forward(255)
time.sleep(1)
#stop with brakes
sumo.stop()
time.sleep(1)
#go backwards
sumo.reverse(255)
time.sleep(1)
#coasting is releasing the motors - can be pushed
sumo.coast()
Last updated