adjust to tested max speed

This commit is contained in:
HappyZ 2018-01-17 19:44:44 -06:00
parent feda32c331
commit 816a5e4d4e
1 changed files with 3 additions and 3 deletions

View File

@ -109,7 +109,7 @@ if __name__ == '__main__':
return k
robot = None
speed = 100
speed = 200
try:
print('Initializing..')
robot = NexusRobot('/dev/cu.usbserial-AL00YYCA')
@ -137,8 +137,8 @@ if __name__ == '__main__':
print(robot.getInfo())
elif k == '+':
speed += 20
if speed > 200:
speed = 200
if speed > 400:
speed = 400
print('Config speed to: {0}'.format(speed))
elif k == '-':
speed -= 20