Package edu.wpi.first.hal.simulation
Class DriverStationDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.DriverStationDataJNI
JNI for Driver Station data.
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wpi.first.hal.JNIWrapper
JNIWrapper.Helper -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcancelAllianceStationIdCallback(int uid) static voidcancelAutonomousCallback(int uid) static voidcancelDsAttachedCallback(int uid) static voidcancelEnabledCallback(int uid) static voidcancelEStopCallback(int uid) static voidcancelFmsAttachedCallback(int uid) static voidcancelMatchTimeCallback(int uid) static voidcancelTestCallback(int uid) static intstatic booleanstatic booleanstatic booleanstatic booleangetEStop()static booleanstatic longgetJoystickOutputs(int stick) static intgetJoystickRumble(int stick, int rumbleNum) static doublestatic booleangetTest()static voidstatic voidregisterAllCallbacks(NotifyCallback callback, boolean initialNotify) static intregisterAllianceStationIdCallback(NotifyCallback callback, boolean initialNotify) static intregisterAutonomousCallback(NotifyCallback callback, boolean initialNotify) static intregisterDsAttachedCallback(NotifyCallback callback, boolean initialNotify) static intregisterEnabledCallback(NotifyCallback callback, boolean initialNotify) static intregisterEStopCallback(NotifyCallback callback, boolean initialNotify) static intregisterFmsAttachedCallback(NotifyCallback callback, boolean initialNotify) static intregisterMatchTimeCallback(NotifyCallback callback, boolean initialNotify) static intregisterTestCallback(NotifyCallback callback, boolean initialNotify) static voidstatic voidsetAllianceStationId(int allianceStationId) static voidsetAutonomous(boolean autonomous) static voidsetDsAttached(boolean dsAttached) static voidsetEnabled(boolean enabled) static voidsetEStop(boolean eStop) static voidsetEventName(String name) static voidsetFmsAttached(boolean fmsAttached) static voidsetGameSpecificMessage(String message) static voidsetJoystickAxes(byte joystickNum, float[] axesArray) static voidsetJoystickAxis(int stick, int axis, double value) static voidsetJoystickAxisCount(int stick, int count) static voidsetJoystickAxisType(int stick, int axis, int type) static voidsetJoystickButton(int stick, int button, boolean state) static voidsetJoystickButtonCount(int stick, int count) static voidsetJoystickButtons(byte joystickNum, int buttons, int count) static voidsetJoystickButtonsValue(int stick, int buttons) static voidsetJoystickIsXbox(int stick, boolean isXbox) static voidsetJoystickName(int stick, String name) static voidsetJoystickPOV(int stick, int pov, int value) static voidsetJoystickPOVCount(int stick, int count) static voidsetJoystickPOVs(byte joystickNum, short[] povsArray) static voidsetJoystickType(int stick, int type) static voidsetMatchInfo(String eventName, String gameSpecificMessage, int matchNumber, int replayNumber, int matchType) static voidsetMatchNumber(int matchNumber) static voidsetMatchTime(double matchTime) static voidsetMatchType(int type) static voidsetReplayNumber(int replayNumber) static voidsetSendConsoleLine(boolean shouldSend) static voidsetSendError(boolean shouldSend) static voidsetTest(boolean test) Methods inherited from class edu.wpi.first.hal.JNIWrapper
forceLoad, suppressUnused
-
Method Details
-
registerEnabledCallback
-
cancelEnabledCallback
-
getEnabled
-
setEnabled
-
registerAutonomousCallback
-
cancelAutonomousCallback
-
getAutonomous
-
setAutonomous
-
registerTestCallback
-
cancelTestCallback
-
getTest
-
setTest
-
registerEStopCallback
-
cancelEStopCallback
-
getEStop
-
setEStop
-
registerFmsAttachedCallback
-
cancelFmsAttachedCallback
-
getFmsAttached
-
setFmsAttached
-
registerDsAttachedCallback
-
cancelDsAttachedCallback
-
getDsAttached
-
setDsAttached
-
registerAllianceStationIdCallback
-
cancelAllianceStationIdCallback
-
getAllianceStationId
-
setAllianceStationId
-
registerMatchTimeCallback
-
cancelMatchTimeCallback
-
getMatchTime
-
setMatchTime
-
setJoystickAxes
-
setJoystickPOVs
-
setJoystickButtons
-
getJoystickOutputs
-
getJoystickRumble
-
setMatchInfo
public static void setMatchInfo(String eventName, String gameSpecificMessage, int matchNumber, int replayNumber, int matchType) -
registerAllCallbacks
-
notifyNewData
-
setSendError
-
setSendConsoleLine
-
setJoystickButton
-
setJoystickAxis
-
setJoystickPOV
-
setJoystickButtonsValue
-
setJoystickAxisCount
-
setJoystickPOVCount
-
setJoystickButtonCount
-
setJoystickIsXbox
-
setJoystickType
-
setJoystickName
-
setJoystickAxisType
-
setGameSpecificMessage
-
setEventName
-
setMatchType
-
setMatchNumber
-
setReplayNumber
-
resetData
-