12 #include "hal/Types.h"
20 #define HAL_IO_CONFIG_DATA_SIZE 32
21 #define HAL_SYS_STATUS_DATA_SIZE 44
22 #define HAL_USER_STATUS_DATA_SIZE \
23 (984 - HAL_IO_CONFIG_DATA_SIZE - HAL_SYS_STATUS_DATA_SIZE)
25 #define HALFRC_NetworkCommunication_DynamicType_DSEnhancedIO_Input 17
26 #define HALFRC_NetworkCommunication_DynamicType_DSEnhancedIO_Output 18
27 #define HALFRC_NetworkCommunication_DynamicType_Kinect_Header 19
28 #define HALFRC_NetworkCommunication_DynamicType_Kinect_Extra1 20
29 #define HALFRC_NetworkCommunication_DynamicType_Kinect_Vertices1 21
30 #define HALFRC_NetworkCommunication_DynamicType_Kinect_Extra2 22
31 #define HALFRC_NetworkCommunication_DynamicType_Kinect_Vertices2 23
32 #define HALFRC_NetworkCommunication_DynamicType_Kinect_Joystick 24
33 #define HALFRC_NetworkCommunication_DynamicType_Kinect_Custom 25
37 uint32_t autonomous : 1;
40 uint32_t fmsAttached : 1;
41 uint32_t dsAttached : 1;
42 uint32_t control_reserved : 26;
47 HAL_ENUM(HAL_AllianceStationID) {
48 HAL_AllianceStationID_kRed1,
49 HAL_AllianceStationID_kRed2,
50 HAL_AllianceStationID_kRed3,
51 HAL_AllianceStationID_kBlue1,
52 HAL_AllianceStationID_kBlue2,
53 HAL_AllianceStationID_kBlue3,
56 HAL_ENUM(HAL_MatchType) {
58 HAL_kMatchType_practice,
59 HAL_kMatchType_qualification,
60 HAL_kMatchType_elimination,
68 #define HAL_kMaxJoystickAxes 12
69 #define HAL_kMaxJoystickPOVs 12
70 #define HAL_kMaxJoysticks 6
74 float axes[HAL_kMaxJoystickAxes];
80 int16_t povs[HAL_kMaxJoystickPOVs];
95 uint8_t axisTypes[HAL_kMaxJoystickAxes];
103 HAL_MatchType matchType;
104 uint16_t matchNumber;
105 uint8_t replayNumber;
106 uint8_t gameSpecificMessage[64];
107 uint16_t gameSpecificMessageSize;
Definition: DriverStationTypes.h:90
Definition: DriverStationTypes.h:101
Definition: DriverStationTypes.h:78
Definition: DriverStationTypes.h:35
Definition: DriverStationTypes.h:72