commit | da4e250bb330064fa772af88fd3feaf4e2ada69b | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin@peloton-tech.com> | Sun Mar 02 21:13:45 2014 -0800 |
committer | Austin Schuh <austin@peloton-tech.com> | Sun Mar 02 21:13:45 2014 -0800 |
tree | 2845856cbbac4c0858cf6c6aa38df77d52fe886b | |
parent | 492331a23567981c7d2ed0d9134b43200102df4a [diff] |
Lowered shot power to the limit in joystick
diff --git a/frc971/input/joystick_reader.cc b/frc971/input/joystick_reader.cc index ee1756f..c0daa9e 100644 --- a/frc971/input/joystick_reader.cc +++ b/frc971/input/joystick_reader.cc
@@ -318,7 +318,7 @@ if (data.PosEdge(kLongShot)) { auto shoot_action = MakeShootAction(); - shot_power_ = 160.0; + shot_power_ = 145.0; shoot_action->GetGoal()->shot_power = shot_power_; shoot_action->GetGoal()->shot_angle = kLongShotGoal.angle; SetGoal(kLongShotGoal);