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 { | |
d17d868d | 10 | public static class OI { |
6b4ab3d7 CZ |
11 | public final static int LEFT_STICK_PORT = 0; |
12 | public final static int RIGHT_STICK_PORT = 1; | |
43980ce1 | 13 | public final static int TOGGLE_WINCH_PORT = 0; |
d17d868d | 14 | } |
38a404b3 | 15 | |
d17d868d | 16 | public static class DriveTrain { |
17 | // MOTOR CONTROLLERS | |
68301d98 CZ |
18 | public static final int FRONT_LEFT = 1; |
19 | public static final int FRONT_RIGHT = 3; | |
20 | public static final int REAR_LEFT = 2; | |
b06733de | 21 | public static final int REAR_RIGHT = 4; |
38a404b3 | 22 | |
d17d868d | 23 | // ENCODERS |
b06733de CZ |
24 | public static final int ENCODER_LEFT_A = 0; |
25 | public static final int ENCODER_LEFT_B = 1; | |
26 | public static final int ENCODER_RIGHT_A = 2; | |
27 | public static final int ENCODER_RIGHT_B = 3; | |
d17d868d | 28 | } |
fa4e4a97 | 29 | |
43980ce1 SG |
30 | public static class Climber { |
31 | // MOTOR CONTROLLERS | |
abf265b3 | 32 | public static final int MOTOR = 1; |
43980ce1 SG |
33 | |
34 | } | |
35 | ||
d17d868d | 36 | public static enum Direction { |
37 | LEFT, RIGHT, DOWN, UP, FORWARD, BACKWARD; | |
38 | } | |
38a404b3 | 39 | } |