X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2FConstants.java;h=765851a305d42b3e01980ac4ef62dd249a0a1379;hb=9fb915daafe02e95c7e07c3d2112e7f0163d728a;hp=ed762f0b66b6ce26859db710f8297519083c0367;hpb=e567211cbcd45b16abef10cfd737e39d7ac3a61a;p=3501%2Fstronghold-2016 diff --git a/src/org/usfirst/frc/team3501/robot/Constants.java b/src/org/usfirst/frc/team3501/robot/Constants.java index ed762f0b..765851a3 100644 --- a/src/org/usfirst/frc/team3501/robot/Constants.java +++ b/src/org/usfirst/frc/team3501/robot/Constants.java @@ -9,23 +9,37 @@ package org.usfirst.frc.team3501.robot; public class Constants { public static class OI { public final static int LEFT_STICK_PORT = 0; - public final static int RIGHT_STICK_PORT = 0; + public final static int RIGHT_STICK_PORT = 1; + public final static int TRIGGER_PORT = 1; + + public final static int DEC_SHOOTER_SPD_PORT = 2; + public final static int INC_SHOOTER_SPD_PORT = 3; + public final static int SHOOT_PORT = 4; + public final static int PRINT_PORT = 5; } public static class DriveTrain { - // Drivetrain specific ports + // Drivetrain Motor Related Ports public static final int FRONT_LEFT = 0; public static final int FRONT_RIGHT = 0; public static final int REAR_LEFT = 0; public static final int REAR_RIGHT = 0; - // Encoder Specific Ports + // Encoder related ports public final static int ENCODER_LEFT_A = 3; public final static int ENCODER_LEFT_B = 4; public final static int ENCODER_RIGHT_A = 2; public final static int ENCODER_RIGHT_B = 1; } + public static class Shooter { + public static final int PORT = 0; + + public static enum State { + RUNNING, STOPPED; + } + } + public static enum Direction { LEFT, RIGHT, DOWN, UP, FORWARD, BACKWARD; }