10 #ifndef __FRC_ROBORIO__
12 #include "NotifyListener.h"
13 #include "hal/DriverStation.h"
20 void HALSIM_ResetDriverStationData(
void);
21 int32_t HALSIM_RegisterDriverStationEnabledCallback(HAL_NotifyCallback callback,
23 HAL_Bool initialNotify);
24 void HALSIM_CancelDriverStationEnabledCallback(int32_t uid);
25 HAL_Bool HALSIM_GetDriverStationEnabled(
void);
26 void HALSIM_SetDriverStationEnabled(HAL_Bool enabled);
28 int32_t HALSIM_RegisterDriverStationAutonomousCallback(
29 HAL_NotifyCallback callback,
void* param, HAL_Bool initialNotify);
30 void HALSIM_CancelDriverStationAutonomousCallback(int32_t uid);
31 HAL_Bool HALSIM_GetDriverStationAutonomous(
void);
32 void HALSIM_SetDriverStationAutonomous(HAL_Bool autonomous);
34 int32_t HALSIM_RegisterDriverStationTestCallback(HAL_NotifyCallback callback,
36 HAL_Bool initialNotify);
37 void HALSIM_CancelDriverStationTestCallback(int32_t uid);
38 HAL_Bool HALSIM_GetDriverStationTest(
void);
39 void HALSIM_SetDriverStationTest(HAL_Bool test);
41 int32_t HALSIM_RegisterDriverStationEStopCallback(HAL_NotifyCallback callback,
43 HAL_Bool initialNotify);
44 void HALSIM_CancelDriverStationEStopCallback(int32_t uid);
45 HAL_Bool HALSIM_GetDriverStationEStop(
void);
46 void HALSIM_SetDriverStationEStop(HAL_Bool eStop);
48 int32_t HALSIM_RegisterDriverStationFmsAttachedCallback(
49 HAL_NotifyCallback callback,
void* param, HAL_Bool initialNotify);
50 void HALSIM_CancelDriverStationFmsAttachedCallback(int32_t uid);
51 HAL_Bool HALSIM_GetDriverStationFmsAttached(
void);
52 void HALSIM_SetDriverStationFmsAttached(HAL_Bool fmsAttached);
54 int32_t HALSIM_RegisterDriverStationDsAttachedCallback(
55 HAL_NotifyCallback callback,
void* param, HAL_Bool initialNotify);
56 void HALSIM_CancelDriverStationDsAttachedCallback(int32_t uid);
57 HAL_Bool HALSIM_GetDriverStationDsAttached(
void);
58 void HALSIM_SetDriverStationDsAttached(HAL_Bool dsAttached);
60 int32_t HALSIM_RegisterDriverStationAllianceStationIdCallback(
61 HAL_NotifyCallback callback,
void* param, HAL_Bool initialNotify);
62 void HALSIM_CancelDriverStationAllianceStationIdCallback(int32_t uid);
63 HAL_AllianceStationID HALSIM_GetDriverStationAllianceStationId(
void);
64 void HALSIM_SetDriverStationAllianceStationId(
65 HAL_AllianceStationID allianceStationId);
67 int32_t HALSIM_RegisterDriverStationMatchTimeCallback(
68 HAL_NotifyCallback callback,
void* param, HAL_Bool initialNotify);
69 void HALSIM_CancelDriverStationMatchTimeCallback(int32_t uid);
70 double HALSIM_GetDriverStationMatchTime(
void);
71 void HALSIM_SetDriverStationMatchTime(
double matchTime);
73 void HALSIM_SetJoystickAxes(int32_t joystickNum,
const HAL_JoystickAxes* axes);
74 void HALSIM_SetJoystickPOVs(int32_t joystickNum,
const HAL_JoystickPOVs* povs);
75 void HALSIM_SetJoystickButtons(int32_t joystickNum,
77 void HALSIM_SetJoystickDescriptor(int32_t joystickNum,
80 void HALSIM_GetJoystickOutputs(int32_t joystickNum, int64_t* outputs,
81 int32_t* leftRumble, int32_t* rightRumble);
85 void HALSIM_RegisterDriverStationAllCallbacks(HAL_NotifyCallback callback,
87 HAL_Bool initialNotify);
89 void HALSIM_NotifyDriverStationNewData(
void);
Definition: DriverStation.h:90
Definition: DriverStation.h:101
Definition: DriverStation.h:78
Definition: DriverStation.h:72