1 #ifndef DRIVER_STATION_CONFIG_H_
2 #define DRIVER_STATION_CONFIG_H_
8 namespace DriverStationConfig
10 namespace JoystickConfig
12 const uint32_t NUM_JOYSTICK_BUTTONS = 12;
14 const uint32_t NUM_JOYSTICK_AXES = 6;
15 const uint32_t NUM_WHEEL_BUTTONS = 11;
17 const uint32_t NUM_WHEEL_AXES = 3;
18 const uint32_t DRIVER_STICK_PORT = 1;
19 const uint32_t OPERATOR_STICK_PORT = 2;
20 const uint32_t DRIVER_WHEEL_PORT = 3;
22 namespace JoystickButtons
25 const uint32_t COLLECTOR_SLIDE = 1;
26 const uint32_t FIRE = 2;
27 const uint32_t MANUAL_FIRE = 3;
28 const uint32_t START_CLIMB = 4;
32 const uint32_t VECTOR_DRIVE = 8;
33 const uint32_t AUTO_AIM_BACKBOARD = 9;
35 const uint32_t APPLY_CONFIG = 5;
36 const uint32_t LOAD_CONFIG = 6;
37 const uint32_t SAVE_CONFIG = 7;
38 const uint32_t RESET_ZERO = 10;
39 const uint32_t PAUSE_AUTON = 11;
42 const uint32_t FLASHLIGHT_A = 7;
43 const uint32_t FLASHLIGHT_B = 11;
46 const uint32_t SHOOTER_OFF = 1;
47 const uint32_t SHOOTER_ON = 2;
48 const uint32_t CONDITIONAL_ABORT = 2;
49 const uint32_t CONTINUE_CLIMB = 3;
50 const uint32_t CHANGE_ANGLE = 4;
51 const uint32_t COLLECTOR_DOWN_NO_MOTOR = 5;
52 const uint32_t COLLECT_OPERATOR = 6;
53 const uint32_t CLIMBER_ARMS = 7;
54 const uint32_t PAWL_UP = 8;
55 const uint32_t PAWL_DOWN = 9;
57 const uint32_t PURGE = 10;
58 const uint32_t DISENGAGE_PTO = 11;
59 const uint32_t ENGAGE_PTO = 12;
60 const uint32_t STOP_ROBOT = 5;
61 const uint32_t REVERSE_DRIVE = 6;
65 const uint32_t MOTORS = 1;
66 const uint32_t DRIVETRAIN = 2;
67 const uint32_t COLLECTOR = 3;
68 const uint32_t SHOOTER = 4;
69 const uint32_t CLIMBER = 5;
70 const uint32_t WINCH_PAWL = 6;
71 const uint32_t COMPRESSOR = 7;
72 const uint32_t COMP_UNIT_TEST = 8;
76 const uint32_t AUTONOMOUS_DELAY = 1;
77 const uint32_t AUTONOMOUS_SELECT = 2;
78 const uint32_t NUM_FRISBEES = 3;