add getter/setter methods and constants for encoder
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / Constants.java
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 {
10 public static class OI {
11 public final static int LEFT_STICK_PORT = 0;
12 public final static int RIGHT_STICK_PORT = 0;
13 }
14
15 public static class DriveTrain {
16 // MOTOR CONTROLLERS
17 public static final int FRONT_LEFT = 0;
18 public static final int FRONT_RIGHT = 0;
19 public static final int REAR_LEFT = 0;
20 public static final int REAR_RIGHT = 0;
21
22 // ENCODERS
23 public static final int ENCODER_LEFT_A = 0;
24 public static final int ENCODER_LEFT_B = 0;
25 public static final int ENCODER_RIGHT_A = 0;
26 public static final int ENCODER_RIGHT_B = 0;
27
28 public static final int INCHES_PER_PULSE = 0;
29 }
30
31 public static enum Direction {
32 LEFT, RIGHT, DOWN, UP, FORWARD, BACKWARD;
33 }
34 }