change gyro from old imu to new adx imu
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / Constants.java
CommitLineData
38a404b3
KZ
1package org.usfirst.frc.team3501.robot;
2
bf921ece
CZ
3import edu.wpi.first.wpilibj.SPI;
4
38a404b3
KZ
5/**
6 * The Constants stores constant values for all subsystems. This includes the
7 * port values for motors and sensors, as well as important operational
8 * constants for subsystems such as max and min values.
9 */
10
11public class Constants {
d17d868d 12 public static class OI {
6b4ab3d7
CZ
13 public final static int LEFT_STICK_PORT = 0;
14 public final static int RIGHT_STICK_PORT = 1;
14ff5362 15 public final static int TOGGLE_WINCH_PORT = 0;
2291f7b3 16 public final static int TOGGLE_FLYWHEEL_PORT = 0;
17 public final static int TOGGLE_INDEXWHEEL_PORT = 0;
d17d868d 18 }
38a404b3 19
f91f2b55 20 public static class Shooter {
21 // MOTOR CONTROLLERS
22 public static final int FLY_WHEEL = 0;
23 public static final int INDEX_WHEEL = 0;
adfc0171 24 public final static int TOGGLE_WINCH_PORT = 0;
d0a3a99e 25
7099e02a 26 public final static int TOGGLE_FLYWHEEL_PORT = 0;
27 public final static int TOGGLE_INDEXWHEEL_PORT = 0;
e74e5e9d
SG
28 }
29
d17d868d 30 public static class DriveTrain {
31 // MOTOR CONTROLLERS
68301d98
CZ
32 public static final int FRONT_LEFT = 1;
33 public static final int FRONT_RIGHT = 3;
34 public static final int REAR_LEFT = 2;
b06733de 35 public static final int REAR_RIGHT = 4;
38a404b3 36
d17d868d 37 // ENCODERS
93b4c266
CZ
38 public static final int ENCODER_LEFT_A = 1;
39 public static final int ENCODER_LEFT_B = 0;
b06733de
CZ
40 public static final int ENCODER_RIGHT_A = 2;
41 public static final int ENCODER_RIGHT_B = 3;
bf921ece
CZ
42
43 public static final SPI.Port GYRO_PORT = SPI.Port.kOnboardCS0;
d17d868d 44 }
fa4e4a97 45
f761d7ba
SG
46 public static class Climber {
47 // MOTOR CONTROLLERS
48 public static final int MOTOR_VAL = 1;
10d788c3 49 }
f761d7ba 50
10d788c3
AD
51 public static class Intake {
52 public static final int INTAKE_ROLLER_PORT = 0;
f761d7ba
SG
53 }
54
d17d868d 55 public static enum Direction {
56 LEFT, RIGHT, DOWN, UP, FORWARD, BACKWARD;
57 }
38a404b3 58}