change Direction data type to our own
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / Constants.java
CommitLineData
38a404b3
KZ
1package 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
9public class Constants {
d17d868d 10 public static class OI {
b081e34b
ME
11 public final static int LEFT_STICK_PORT = 1;
12 public final static int RIGHT_STICK_PORT = 0;
d17d868d 13 }
38a404b3 14
d17d868d 15 public static class DriveTrain {
16 // MOTOR CONTROLLERS
68301d98
CZ
17 public static final int FRONT_LEFT = 1;
18 public static final int FRONT_RIGHT = 3;
19 public static final int REAR_LEFT = 2;
b06733de 20 public static final int REAR_RIGHT = 4;
38a404b3 21
d17d868d 22 // ENCODERS
b06733de
CZ
23 public static final int ENCODER_LEFT_A = 0;
24 public static final int ENCODER_LEFT_B = 1;
25 public static final int ENCODER_RIGHT_A = 2;
26 public static final int ENCODER_RIGHT_B = 3;
fa4e4a97 27
d17d868d 28 public static final int INCHES_PER_PULSE = 0;
29 }
fa4e4a97 30
d17d868d 31 public static enum Direction {
32 LEFT, RIGHT, DOWN, UP, FORWARD, BACKWARD;
33 }
38a404b3 34}