LRT14  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
DriverStationConfig.h
1 #ifndef DRIVER_STATION_CONFIG_H_
2 #define DRIVER_STATION_CONFIG_H_
3 
4 #include <string>
5 
9 namespace DriverStationConfig
10 {
11 namespace JoystickConfig
12 {
13 const uint32_t NUM_JOYSTICK_BUTTONS = 12; // Max supported by the driver station
14 const uint32_t NUM_JOYSTICK_AXES = 6;
15 const uint32_t NUM_WHEEL_BUTTONS = 11;
16 const uint32_t NUM_WHEEL_AXES = 3;
17 
18 const uint32_t DRIVER_STICK_PORT = 1;
19 const uint32_t OPERATOR_STICK_PORT = 2;
20 const uint32_t DRIVER_WHEEL_PORT = 3;
21 }
22 namespace JoystickButtons
23 {
24 // Driver Joystick
25 const uint32_t COLLECT = 1;
26 // Operator Joystick
27 const uint32_t PASS = 1;
28 const uint32_t FIRE = 2;
29 const uint32_t SHORT_SHOT = 3;
30 const uint32_t LONG_SHOT = 4;
31 const uint32_t PURGE_LAUNCHER = 6;
32 const uint32_t LOAD_LAUNCHER = 7;
33 const uint32_t REVERSE_ROLLERS = 10;
34 // Driver Wheel
35 const uint32_t POSITION_HOLD = 5;
36 const uint32_t REVERSE_DRIVE = 6;
37 }
38 namespace DigitalIns
39 {
40 const int32_t NO_DS_DI = -1;
41 const uint32_t DRIVETRAIN = 1;
42 const uint32_t COLLECTOR_ROLLERS = 2;
43 const uint32_t COLLECTOR_ARM = 3;
44 const uint32_t LAUNCHER_LOADER = 4;
45 const uint32_t LAUNCHER_ANGLE = 5;
46 const uint32_t COMPRESSOR = 8;
47 }
48 namespace AnalogIns
49 {
50 const uint32_t AUTONOMOUS_DELAY = 1;
51 const uint32_t AUTONOMOUS_SELECT = 2;
52 }
53 }
54 
55 #endif