af9000050c27fa1eccc0571f3d962a3b24bea69a
[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 = 1;
13 public final static int TOGGLE_WINCH_PORT = 0;
14 public final static int TOGGLE_FLYWHEEL_PORT = 0;
15 public final static int TOGGLE_INDEXWHEEL_PORT = 0;
16 }
17
18 public static class Shooter {
19 // MOTOR CONTROLLERS
20 public static final int FLY_WHEEL = 0;
21 public static final int INDEX_WHEEL = 0;
22 public final static int TOGGLE_WINCH_PORT = 0;
23 public final static int TOGGLE_FLYWHEEL_PORT = 0;
24 public final static int TOGGLE_INDEXWHEEL_PORT = 0;
25
26 }
27
28 public static class Shooter {
29 // MOTOR CONTROLLERS
30 public static final int FLY_WHEEL = 0;
31 public static final int INDEX_WHEEL = 0;
32 }
33
34 public static class DriveTrain {
35 // MOTOR CONTROLLERS
36 public static final int FRONT_LEFT = 1;
37 public static final int FRONT_RIGHT = 3;
38 public static final int REAR_LEFT = 2;
39 public static final int REAR_RIGHT = 4;
40
41 // ENCODERS
42 public static final int ENCODER_LEFT_A = 0;
43 public static final int ENCODER_LEFT_B = 1;
44 public static final int ENCODER_RIGHT_A = 2;
45 public static final int ENCODER_RIGHT_B = 3;
46 }
47
48 public static class Climber {
49 // MOTOR CONTROLLERS
50 public static final int MOTOR_VAL = 1;
51 }
52
53 public static class Intake {
54 public static final int INTAKE_ROLLER_PORT = 0;
55 }
56
57 public static enum Direction {
58 LEFT, RIGHT, DOWN, UP, FORWARD, BACKWARD;
59 }
60 }