Fixed Austin's comments.
Squashed 'Changed fender shot to long without IMU' and
fixed Austin's comments.
Change-Id: Id81f4f8d35bb399d33bb74bd3d4e895603817711
diff --git a/y2014_bot3/joystick_reader.cc b/y2014_bot3/joystick_reader.cc
index 86f78dc..22610ae 100644
--- a/y2014_bot3/joystick_reader.cc
+++ b/y2014_bot3/joystick_reader.cc
@@ -66,8 +66,6 @@
void HandleDrivetrain(const ::aos::input::driver_station::Data &data) {
bool is_control_loop_driving = false;
- static double left_goal = 0.0;
- static double right_goal = 0.0;
const double wheel = -data.GetAxis(kSteeringWheel);
const double throttle = -data.GetAxis(kDriveThrottle);
@@ -139,6 +137,9 @@
bool auto_running_ = false;
bool is_high_gear_;
+ // Turning goals.
+ double left_goal;
+ double right_goal;
::aos::util::SimpleLogInterval no_drivetrain_status_ =
::aos::util::SimpleLogInterval(::aos::time::Time::InSeconds(0.2), WARNING,