Re-tuned the shots and increased vision delay.
Change-Id: I571982d5edebc7325be5beb4bc516d6d1fc3a165
diff --git a/y2016/joystick_reader.cc b/y2016/joystick_reader.cc
index 448f179..e702801 100644
--- a/y2016/joystick_reader.cc
+++ b/y2016/joystick_reader.cc
@@ -210,14 +210,14 @@
if (data.IsPressed(kFrontLong)) {
// Forwards shot
- shoulder_goal_ = M_PI / 2.0 - 0.2;
- wrist_goal_ = M_PI + 0.45;
+ shoulder_goal_ = M_PI / 2.0 + 0.1;
+ wrist_goal_ = M_PI + 0.40;
shooter_velocity_ = 640.0;
intake_goal_ = intake_when_shooting;
} else if (data.IsPressed(kBackLong)) {
// Backwards shot
- shoulder_goal_ = M_PI / 2.0 - 0.2;
- wrist_goal_ = -0.65;
+ shoulder_goal_ = M_PI / 2.0 - 0.4;
+ wrist_goal_ = -0.62;
shooter_velocity_ = 640.0;
intake_goal_ = intake_when_shooting;
} else if (data.IsPressed(kBackFender)) {
@@ -283,7 +283,7 @@
} else {
ready_to_fire_ = 0;
}
- if (ready_to_fire_ > 7) {
+ if (ready_to_fire_ > 9) {
fire_ = true;
}
}