Automatically generate shooter constants.
Change-Id: I06cbdcb80e9ccd003fb190ea2ae03217cfa34feb
diff --git a/y2014/control_loops/shooter/shooter.h b/y2014/control_loops/shooter/shooter.h
index 71347cb..0efbbd0 100644
--- a/y2014/control_loops/shooter/shooter.h
+++ b/y2014/control_loops/shooter/shooter.h
@@ -102,7 +102,8 @@
private:
// The offset between what is '0' (0 rate on the spring) and the 0 (all the
// way cocked).
- constexpr static double kPositionOffset = kMaxExtension;
+ constexpr static double kPositionOffset =
+ ::y2014::control_loops::shooter::kMaxExtension;
// The accumulated voltage to apply to the motor.
double voltage_;
double last_voltage_;