slower speed in keyboard controler (safer)

This commit is contained in:
lgd 2015-04-27 21:41:53 +02:00
parent c840163f60
commit 8fd441e4b5

View file

@ -57,8 +57,8 @@ def getKey():
termios.tcsetattr(sys.stdin, termios.TCSADRAIN, settings) termios.tcsetattr(sys.stdin, termios.TCSADRAIN, settings)
return key return key
speed = .5 speed = 0.1
turn = 1 turn = 0.5
def vels(speed,turn): def vels(speed,turn):
return "currently:\tspeed %s\tturn %s " % (speed,turn) return "currently:\tspeed %s\tturn %s " % (speed,turn)