diff --git a/soccer_bot.py b/soccer_bot.py index 4e083d9..626a907 100644 --- a/soccer_bot.py +++ b/soccer_bot.py @@ -57,10 +57,11 @@ while True: shoot.run_angle(-speed, angle) # move back shoot.run_angle(speed, angle) - else: - db.settings(s_speed*2, s_accel, t_rate, t_accel*2) - speed=-1000 - angle=0 + + # run fast + db.settings(s_speed*2, s_accel, t_rate, t_accel*2) + speed=-1000 + angle=0 if Button.LEFT_PLUS in pressed and Button.RIGHT_MINUS in pressed: db.turn(-20,wait=False,)