Ejemplo n.º 1
0
import movement as mv
from movement import executeMovement as em
from time import sleep

mv.enable()
sleep(5)
for i in range(3):
	print "FORWARD!", i
	em(["FORWARD", 1])
	sleep(10)

#print "FORWARD AGAIN!"
#em(["FORWARD", 1])
sleep(2)
mv.disable()

Ejemplo n.º 2
0
def handleMove(ARGS=None):
    print "move"
    if ARGS == None:
        return
    em([ARGS[1], ARGS[2]])
    print "done"