Fix rebase conflicts, by delete shifter instance
authorArunima DIvya <adivya822@student.fuhsd.org>
Tue, 31 Jan 2017 03:20:45 +0000 (19:20 -0800)
committerArunima DIvya <adivya822@student.fuhsd.org>
Fri, 3 Feb 2017 03:23:38 +0000 (19:23 -0800)
src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java

index ef4090353db0fa1060fdd23239958cf9deb76902..bf294383c3e3a9c828d1142f8964648153040eba 100644 (file)
@@ -68,6 +68,10 @@ public class DriveTrain extends Subsystem {
         BNO055.vector_type_t.VECTOR_EULER, Port.kOnboard, (byte) 0x28);
     gyroZero = imu.getHeading();
 
+    leftGearPiston = new DoubleSolenoid(Constants.DriveTrain.MODULE_NUMBER,
+        Constants.DriveTrain.LEFT_FORWARD, Constants.DriveTrain.LEFT_REVERSE);
+    rightGearPiston = new DoubleSolenoid(Constants.DriveTrain.MODULE_NUMBER,
+        Constants.DriveTrain.RIGHT_FORWARD, Constants.DriveTrain.RIGHT_REVERSE);
   }
 
   public static DriveTrain getDriveTrain() {