Autogen rules written for elevator module.

Put most things in the y2015 namespace since codegen wants to place
the controller gains in that namespace.

Change-Id: Ib3ef6eb38200bf0d80cba972cbe06ea366522ec6
diff --git a/y2015/constants.cc b/y2015/constants.cc
index 66feb01..7ccb020 100644
--- a/y2015/constants.cc
+++ b/y2015/constants.cc
@@ -22,7 +22,7 @@
 #define M_PI 3.14159265358979323846
 #endif
 
-namespace frc971 {
+namespace y2015 {
 namespace constants {
 namespace {
 
@@ -36,13 +36,15 @@
 const double kLowGearRatio = kDrivetrainEncoderRatio * 20.0 / 50.0;
 const double kHighGearRatio = kLowGearRatio;
 
-const ShifterHallEffect kCompRightDriveShifter{555, 657, 660, 560, 0.2, 0.7};
-const ShifterHallEffect kCompLeftDriveShifter{555, 660, 644, 552, 0.2, 0.7};
+const ::frc971::constants::ShifterHallEffect kCompRightDriveShifter{
+    555, 657, 660, 560, 0.2, 0.7};
+const ::frc971::constants::ShifterHallEffect kCompLeftDriveShifter{
+    555, 660, 644, 552, 0.2, 0.7};
 
-const ShifterHallEffect kPracticeRightDriveShifter{2.95, 3.95, 3.95,
-                                                   2.95, 0.2,  0.7};
-const ShifterHallEffect kPracticeLeftDriveShifter{2.95, 4.2, 3.95,
-                                                  3.0,  0.2, 0.7};
+const ::frc971::constants::ShifterHallEffect kPracticeRightDriveShifter{
+    2.95, 3.95, 3.95, 2.95, 0.2, 0.7};
+const ::frc971::constants::ShifterHallEffect kPracticeLeftDriveShifter{
+    2.95, 4.2, 3.95, 3.0, 0.2, 0.7};
 const double kToteHeight = 0.3;
 
 // Set by Daniel on 2/13/15.
@@ -376,4 +378,4 @@
 }
 
 }  // namespace constants
-}  // namespace frc971
+}  // namespace y2015