WPILibC++ 2024.3.2
DriverStationTypes.h File Reference
#include <stdint.h>
#include "hal/Types.h"

Go to the source code of this file.

Classes

struct  HAL_ControlWord
 
struct  HAL_JoystickAxes
 
struct  HAL_JoystickPOVs
 
struct  HAL_JoystickButtons
 
struct  HAL_JoystickDescriptor
 
struct  HAL_MatchInfo
 

Macros

#define HAL_IO_CONFIG_DATA_SIZE   32
 
#define HAL_SYS_STATUS_DATA_SIZE   44
 
#define HAL_USER_STATUS_DATA_SIZE    (984 - HAL_IO_CONFIG_DATA_SIZE - HAL_SYS_STATUS_DATA_SIZE)
 
#define HALFRC_NetworkCommunication_DynamicType_DSEnhancedIO_Input   17
 
#define HALFRC_NetworkCommunication_DynamicType_DSEnhancedIO_Output   18
 
#define HALFRC_NetworkCommunication_DynamicType_Kinect_Header   19
 
#define HALFRC_NetworkCommunication_DynamicType_Kinect_Extra1   20
 
#define HALFRC_NetworkCommunication_DynamicType_Kinect_Vertices1   21
 
#define HALFRC_NetworkCommunication_DynamicType_Kinect_Extra2   22
 
#define HALFRC_NetworkCommunication_DynamicType_Kinect_Vertices2   23
 
#define HALFRC_NetworkCommunication_DynamicType_Kinect_Joystick   24
 
#define HALFRC_NetworkCommunication_DynamicType_Kinect_Custom   25
 
#define HAL_kMaxJoystickAxes   12
 
#define HAL_kMaxJoystickPOVs   12
 
#define HAL_kMaxJoysticks   6
 

Typedefs

typedef struct HAL_ControlWord HAL_ControlWord
 
typedef struct HAL_JoystickAxes HAL_JoystickAxes
 
typedef struct HAL_JoystickPOVs HAL_JoystickPOVs
 
typedef struct HAL_JoystickButtons HAL_JoystickButtons
 
typedef struct HAL_JoystickDescriptor HAL_JoystickDescriptor
 
typedef struct HAL_MatchInfo HAL_MatchInfo
 

Enumerations

enum  HAL_AllianceStationID : int32_t {
  HAL_AllianceStationID_kUnknown = 0 , HAL_AllianceStationID_kRed1 , HAL_AllianceStationID_kRed2 , HAL_AllianceStationID_kRed3 ,
  HAL_AllianceStationID_kBlue1 , HAL_AllianceStationID_kBlue2 , HAL_AllianceStationID_kBlue3
}
 
enum  HAL_MatchType : int32_t { HAL_kMatchType_none = 0 , HAL_kMatchType_practice , HAL_kMatchType_qualification , HAL_kMatchType_elimination }