Commit | Line | Data |
---|---|---|
38a404b3 KZ |
1 | package org.usfirst.frc.team3501.robot; |
2 | ||
3 | /** | |
4 | * The Constants stores constant values for all subsystems. This includes the | |
5 | * port values for motors and sensors, as well as important operational | |
6 | * constants for subsystems such as max and min values. | |
7 | */ | |
8 | ||
9 | public class Constants { | |
99d3a628 KZ |
10 | public static class OI { |
11 | public final static int LEFT_STICK_PORT = 0; | |
12 | public final static int RIGHT_STICK_PORT = 0; | |
40348cab | 13 | public final static int RIGHT_STICK_TRIGGER = 0; |
cb3389eb E |
14 | public final static int RIGHT_STICK_LEFT_SILVER_BUTTON = 0; |
15 | public final static int RIGHT_STICK_RIGHT_SILVER_BUTTON = 0; | |
7a949394 | 16 | public final static int RIGHT_STICK_THUMB_BUTTON = 0; |
99d3a628 | 17 | } |
38a404b3 | 18 | |
99d3a628 | 19 | public static class DriveTrain { |
27615e61 | 20 | // Drivetrain Motor Related Ports |
99d3a628 KZ |
21 | public static final int FRONT_LEFT = 0; |
22 | public static final int FRONT_RIGHT = 0; | |
23 | public static final int REAR_LEFT = 0; | |
24 | public static final int REAR_RIGHT = 0; | |
27615e61 KZ |
25 | |
26 | // Encoder related ports | |
99d3a628 KZ |
27 | public final static int ENCODER_LEFT_A = 3; |
28 | public final static int ENCODER_LEFT_B = 4; | |
29 | public final static int ENCODER_RIGHT_A = 2; | |
30 | public final static int ENCODER_RIGHT_B = 1; | |
31 | } | |
38a404b3 | 32 | |
40348cab E |
33 | public static class Shooter { |
34 | public static final int SHOOTER_WHEEL_PORT = 0; | |
35 | } | |
36 | ||
99d3a628 KZ |
37 | public static enum Direction { |
38 | LEFT, RIGHT, DOWN, UP, FORWARD, BACKWARD; | |
39 | } | |
38a404b3 | 40 | } |