14 lines
306 B
Python
14 lines
306 B
Python
|
from RobotCompletCode import MotorizedPlatform
|
||
|
m = MotorizedPlatform()
|
||
|
def frontLeft(speed):
|
||
|
m.setSpeed({"frontLeft":speed})
|
||
|
|
||
|
def frontRight(speed):
|
||
|
m.setSpeed({"frontRight":speed})
|
||
|
|
||
|
def backLeft(speed):
|
||
|
m.setSpeed({"backLeft":speed})
|
||
|
|
||
|
def backRight(speed):
|
||
|
m.setSpeed({"backRight":speed})
|