X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fsubsystems%2FDriveTrain.java;h=bf294383c3e3a9c828d1142f8964648153040eba;hp=ef4090353db0fa1060fdd23239958cf9deb76902;hb=a4e99721c66bf58635eae0a089ddb26c1c237c07;hpb=af4491f7041a4659d6624d5e8b5cb4ae233d1a2b diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java b/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java index ef40903..bf29438 100644 --- a/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java @@ -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() {