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()
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()
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()