예제 #1
0
def left():
	robot.instantStop()
	robot.setMotorRotationSpeedReferences(motors, [0, speed])
예제 #2
0
def stop():
	robot.instantStop()
예제 #3
0
def right():
	robot.instantStop()
	robot.setMotorRotationSpeedReferences(motors, [speed, 0])
예제 #4
0
def backward():
	robot.instantStop()
	robot.setMotorRotationSpeedReferences(motors, [-speed, -speed])
예제 #5
0
def forward():
	robot.instantStop()
	robot.setMotorRotationSpeedReferences(motors, [speed,speed])
예제 #6
0
def left():
    robot.instantStop()
    robot.setMotorRotationSpeedReferences(motors, [0, speed])
예제 #7
0
def right():
    robot.instantStop()
    robot.setMotorRotationSpeedReferences(motors, [speed, 0])
예제 #8
0
def stop():
    robot.instantStop()
예제 #9
0
def forward():
    robot.instantStop()
    robot.setMotorRotationSpeedReferences(motors, [speed, speed])
예제 #10
0
def backward():
    robot.instantStop()
    robot.setMotorRotationSpeedReferences(motors, [-speed, -speed])