X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2FConstants.java;fp=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2FConstants.java;h=312e0c355a8b584dcda01b230f30bb15d121471a;hb=6bc81b557f637fa81f73c33161e82cba049235f3;hp=91a5cc7f2a664980af0a0a51f5bb4aa1aac627e8;hpb=dd4a87932b7956021f78c8e86cff6adf0187aa8f;p=3501%2F2017steamworks diff --git a/src/org/usfirst/frc/team3501/robot/Constants.java b/src/org/usfirst/frc/team3501/robot/Constants.java index 91a5cc7..312e0c3 100644 --- a/src/org/usfirst/frc/team3501/robot/Constants.java +++ b/src/org/usfirst/frc/team3501/robot/Constants.java @@ -16,7 +16,6 @@ public class Constants { public final static int RIGHT_STICK_PORT = 1; // Need to fill in the port numbers of the following buttons - public final static int TOGGLE_WINCH_PORT = 0; public final static int TOGGLE_FLYWHEEL_PORT = 4; public final static int RUN_INDEXWHEEL_PORT = 1; public final static int REVERSE_INDEXWHEEL_PORT = 2; @@ -25,7 +24,12 @@ public class Constants { public final static int REVERSE_INTAKE_PORT = 4; public static final int INCREASE_SHOOTER_SPEED_PORT = 6; public static final int DECREASE_SHOOTER_SPEED_PORT = 2; + public static final int CHANGE_CAMERA_VIEW = 6; + + public static final int BRAKE_CANTALONS_PORT = 5; + public static final int COAST_CANTALONS_PORT = 3; + } public static class Shooter { @@ -38,8 +42,9 @@ public class Constants { public final static int TOGGLE_INDEXER = 8; - public static final int PISTON_MODULE = 10, PISTON_FORWARD = 4, + public static final int MODULE_NUMBER = 10, PISTON_FORWARD = 4, PISTON_REVERSE = 5; + public static final Value HIGH_GEAR = DoubleSolenoid.Value.kForward; public static final Value LOW_GEAR = DoubleSolenoid.Value.kReverse; } @@ -47,8 +52,8 @@ public class Constants { public static class DriveTrain { // GEARS public static final int PISTON_MODULE = 10, LEFT_GEAR_PISTON_FORWARD = 0, - LEFT_GEAR_PISTON_REVERSE = 1, RIGHT_GEAR_PISTON_FORWARD = 2, - RIGHT_GEAR_PISTON_REVERSE = 3; + LEFT_GEAR_PISTON_REVERSE = 1, RIGHT_GEAR_PISTON_FORWARD = 3, + RIGHT_GEAR_PISTON_REVERSE = 2; public static final Value HIGH_GEAR = DoubleSolenoid.Value.kForward; public static final Value LOW_GEAR = DoubleSolenoid.Value.kReverse;