Beispiel #1
0
def mright():
    speed4 = fc.Speed(25)
    speed4.start()
    fc.turn_right(15)
    x = 0
    for i in range(3):
        time.sleep(0.1)
    speed4.deinit()
    fc.stop()
Beispiel #2
0
def mforward():
    speed4 = fc.Speed(25)
    speed4.start()
    fc.forward(15)
    x = 0
    for i in range(3):
        time.sleep(0.1)

    speed4.deinit()
    fc.stop()
Beispiel #3
0
def mbackward():
    speed4 = fc.Speed(25)
    speed4.start()
    fc.backward(17)
    x = 0
    for i in range(10):
        time.sleep(0.1)

    speed4.deinit()
    fc.stop()