| 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 | |
| 15 | public final static int TOGGLE_FLYWHEEL_PORT = 0; |
| 16 | public final static int TOGGLE_INDEXWHEEL_PORT = 0; |
| 17 | } |
| 18 | |
| 19 | public static class DriveTrain { |
| 20 | // MOTOR CONTROLLERS |
| 21 | public static final int FRONT_LEFT = 1; |
| 22 | public static final int FRONT_RIGHT = 3; |
| 23 | public static final int REAR_LEFT = 2; |
| 24 | public static final int REAR_RIGHT = 4; |
| 25 | |
| 26 | // ENCODERS |
| 27 | public static final int ENCODER_LEFT_A = 0; |
| 28 | public static final int ENCODER_LEFT_B = 1; |
| 29 | public static final int ENCODER_RIGHT_A = 2; |
| 30 | public static final int ENCODER_RIGHT_B = 3; |
| 31 | } |
| 32 | |
| 33 | public static enum Direction { |
| 34 | LEFT, RIGHT, DOWN, UP, FORWARD, BACKWARD; |
| 35 | } |
| 36 | } |