Fix import issue to import the right drivetrain
[3501/stronghold-2016] / 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 {
99d3a628 10 public static class OI {
1e832616 11 // Computer Ports
99d3a628 12 public final static int LEFT_STICK_PORT = 0;
9fb915da 13 public final static int RIGHT_STICK_PORT = 1;
1e832616 14 // Ports on the Joystick
9fb915da 15 public final static int TRIGGER_PORT = 1;
fcc8d616
KZ
16 public final static int DECREMENT_SHOOTER_SPEED_PORT = 2;
17 public final static int INCREMENT_SHOOTER_SPEED_PORT = 3;
9fb915da 18 public final static int SHOOT_PORT = 4;
1e832616 19 public final static int LOG_PORT = 5;
99d3a628 20 }
38a404b3 21
99d3a628 22 public static class DriveTrain {
27615e61 23 // Drivetrain Motor Related Ports
99d3a628
KZ
24 public static final int FRONT_LEFT = 0;
25 public static final int FRONT_RIGHT = 0;
26 public static final int REAR_LEFT = 0;
27 public static final int REAR_RIGHT = 0;
27615e61
KZ
28
29 // Encoder related ports
99d3a628
KZ
30 public final static int ENCODER_LEFT_A = 3;
31 public final static int ENCODER_LEFT_B = 4;
32 public final static int ENCODER_RIGHT_A = 2;
33 public final static int ENCODER_RIGHT_B = 1;
34 }
ecf2c4a8 35
804d3b6a 36 public static class Scaler {
ecf2c4a8
K
37 // Piston channels
38 public final static int FORWARD_CHANNEL = 0;
39 public final static int REVERSE_CHANNEL = 0;
40
41 // Winch port
42 public final static int WINCH_MOTOR = 0;
804d3b6a 43 }
38a404b3 44
40348cab 45 public static class Shooter {
e9234163 46 public static final int PORT = 0;
da0c4bd8
E
47
48 public static enum State {
49 RUNNING, STOPPED;
50 }
40348cab
E
51 }
52
99d3a628
KZ
53 public static enum Direction {
54 LEFT, RIGHT, DOWN, UP, FORWARD, BACKWARD;
55 }
53d61b3e 56
dd794a4e
ME
57 public enum Defense {
58 PORTCULLIS, SALLY_PORT, ROUGH_TERRAIN, LOW_BAR, CHEVAL_DE_FRISE, DRAWBRIDGE, MOAT, ROCK_WALL, RAMPART
53d61b3e 59 }
38a404b3 60}