X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fsubsystems%2FDriveTrain.java;h=c68b472e2ff3a5878dc32569aa702ed4aafd99db;hb=e1f7a74216c8845966fb0fa03a08dfeb3868ff3e;hp=5f370e98baee876cf422f749fe286b6b1935656e;hpb=fab544eb2395a8aa847abc1890bc635e5ba63a7c;p=3501%2Fstronghold-2016 diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java b/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java index 5f370e98..c68b472e 100644 --- a/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java @@ -29,10 +29,10 @@ public class DriveTrain extends PIDSubsystem { super(Constants.DriveTrain.kp, Constants.DriveTrain.ki, Constants.DriveTrain.kd); - frontLeft = new CANTalon(Constants.DriveTrain.FRONT_LEFT); - frontRight = new CANTalon(Constants.DriveTrain.FRONT_RIGHT); - rearLeft = new CANTalon(Constants.DriveTrain.REAR_LEFT); - rearRight = new CANTalon(Constants.DriveTrain.REAR_RIGHT); + frontLeft = new CANTalon(Constants.DriveTrain.DRIVE_FRONT_LEFT); + frontRight = new CANTalon(Constants.DriveTrain.DRIVE_FRONT_RIGHT); + rearLeft = new CANTalon(Constants.DriveTrain.DRIVE_REAR_LEFT); + rearRight = new CANTalon(Constants.DriveTrain.DRIVE_REAR_RIGHT); robotDrive = new RobotDrive(frontLeft, rearLeft, frontRight, rearRight); @@ -48,10 +48,10 @@ public class DriveTrain extends PIDSubsystem { this.disable(); - leftGearPiston = new DoubleSolenoid(Constants.DriveTrain.LEFT_MODULE, - Constants.DriveTrain.LEFT_FORWARD, Constants.DriveTrain.LEFT_REVERSE); - rightGearPiston = new DoubleSolenoid(Constants.DriveTrain.RIGHT_MODULE, - Constants.DriveTrain.RIGHT_FORWARD, Constants.DriveTrain.RIGHT_REVERSE); + leftGearPiston = new DoubleSolenoid(Constants.DriveTrain.LEFT_SHIFT_MODULE, + Constants.DriveTrain.LEFT_SHIFT_FORWARD, Constants.DriveTrain.LEFT_SHIFT_REVERSE); + rightGearPiston = new DoubleSolenoid(Constants.DriveTrain.RIGHT_SHIFT_MODULE, + Constants.DriveTrain.RIGHT_SHIFT_FORWARD, Constants.DriveTrain.RIGHT_SHIFT_REVERSE); } @Override