change gear piston variable names michael/PIDCode
authorArunima DIvya <adivya822@student.fuhsd.org>
Fri, 3 Feb 2017 04:06:48 +0000 (20:06 -0800)
committerArunima DIvya <adivya822@student.fuhsd.org>
Fri, 3 Feb 2017 04:06:48 +0000 (20:06 -0800)
src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java

index 7784854220a2994b4134c2bc9bb5c1bc624fc7bc..29dc7121ead6f0b2f67cbe0e42e218e49c1a5a02 100644 (file)
@@ -52,10 +52,13 @@ public class DriveTrain extends Subsystem {
 
     this.imu = new ADXRS450_Gyro(Constants.DriveTrain.GYRO_PORT);
 
+    // TODO: Not sure if MODULE_NUMBER should be the same for both
     leftGearPiston = new DoubleSolenoid(Constants.DriveTrain.MODULE_NUMBER,
-        Constants.DriveTrain.LEFT_FORWARD, Constants.DriveTrain.LEFT_REVERSE);
+        Constants.DriveTrain.LEFT_GEAR_PISTON_FORWARD,
+        Constants.DriveTrain.LEFT_GEAR_PISTON_REVERSE);
     rightGearPiston = new DoubleSolenoid(Constants.DriveTrain.MODULE_NUMBER,
-        Constants.DriveTrain.RIGHT_FORWARD, Constants.DriveTrain.RIGHT_REVERSE);
+        Constants.DriveTrain.RIGHT_GEAR_PISTON_FORWARD,
+        Constants.DriveTrain.RIGHT_GEAR_PISTON_REVERSE);
   }
 
   public static DriveTrain getDriveTrain() {