fixed starting auto mode on a real field
diff --git a/frc971/control_loops/drivetrain/drivetrain.cc b/frc971/control_loops/drivetrain/drivetrain.cc
index e755f3d..e78e5f9 100644
--- a/frc971/control_loops/drivetrain/drivetrain.cc
+++ b/frc971/control_loops/drivetrain/drivetrain.cc
@@ -160,6 +160,7 @@
// Decay the offset quickly because this gyro is great.
const double offset =
(right - left - gyro * constants::GetValues().turn_width) / 2.0;
+ // TODO(brians): filtered_offset_ = offset first time around.
filtered_offset_ = 0.25 * offset + 0.75 * filtered_offset_;
gyro_ = gyro;
control_loop_driving_ = control_loop_driving;
@@ -706,7 +707,7 @@
dt_closedloop.Update(output == NULL);
}
- // set the output status of the controll loop state
+ // set the output status of the control loop state
if (status) {
bool done = false;
if (goal) {