Example #1
0
def F():
    lMotors.Forward()
    rMotors.Forward()
Example #2
0
def R():
    lMotors.Forward()
    rMotors.Backward()
Example #3
0
def fTravel(time=.25, power=50):
    lMotors.Forward(0,power/1.5)
    rMotors.Forward(0,power)
    lMotors.StopAfter(time)
    rMotors.Stop()
Example #4
0
def fullTurn(time=1.75, power=100):
    lMotors.Forward(0,power/2)
    rMotors.Backward(0,power/2)
    lMotors.StopAfter(time)
    rMotors.Stop()
Example #5
0
def rTurn(time=.7, power=100):
    lMotors.Forward(0,power/2)
    rMotors.Backward(0,power/2)
    lMotors.StopAfter(time)
    rMotors.Stop()