public class DriverStationDataJNI extends JNIWrapper
Constructor and Description |
---|
DriverStationDataJNI() |
Modifier and Type | Method and Description |
---|---|
static void |
cancelAutonomousCallback(int uid) |
static void |
cancelDsAttachedCallback(int uid) |
static void |
cancelEnabledCallback(int uid) |
static void |
cancelEStopCallback(int uid) |
static void |
cancelFmsAttachedCallback(int uid) |
static void |
cancelTestCallback(int uid) |
static boolean |
getAutonomous() |
static boolean |
getDsAttached() |
static boolean |
getEnabled() |
static boolean |
getEStop() |
static boolean |
getFmsAttached() |
static boolean |
getTest() |
static void |
notifyNewData() |
static void |
registerAllCallbacks(NotifyCallback callback,
boolean initialNotify) |
static int |
registerAutonomousCallback(NotifyCallback callback,
boolean initialNotify) |
static int |
registerDsAttachedCallback(NotifyCallback callback,
boolean initialNotify) |
static int |
registerEnabledCallback(NotifyCallback callback,
boolean initialNotify) |
static int |
registerEStopCallback(NotifyCallback callback,
boolean initialNotify) |
static int |
registerFmsAttachedCallback(NotifyCallback callback,
boolean initialNotify) |
static int |
registerTestCallback(NotifyCallback callback,
boolean initialNotify) |
static void |
resetData() |
static void |
setAutonomous(boolean autonomous) |
static void |
setDsAttached(boolean dsAttached) |
static void |
setEnabled(boolean enabled) |
static void |
setEStop(boolean eStop) |
static void |
setFmsAttached(boolean fmsAttached) |
static void |
setJoystickAxes(byte joystickNum,
float[] axesArray) |
static void |
setJoystickButtons(byte joystickNum,
int buttons,
int count) |
static void |
setJoystickPOVs(byte joystickNum,
short[] povsArray) |
static void |
setMatchInfo(String eventName,
String gameSpecificMessage,
int matchNumber,
int replayNumber,
int matchType) |
static void |
setTest(boolean test) |
public static int registerEnabledCallback(NotifyCallback callback, boolean initialNotify)
public static void cancelEnabledCallback(int uid)
public static boolean getEnabled()
public static void setEnabled(boolean enabled)
public static int registerAutonomousCallback(NotifyCallback callback, boolean initialNotify)
public static void cancelAutonomousCallback(int uid)
public static boolean getAutonomous()
public static void setAutonomous(boolean autonomous)
public static int registerTestCallback(NotifyCallback callback, boolean initialNotify)
public static void cancelTestCallback(int uid)
public static boolean getTest()
public static void setTest(boolean test)
public static int registerEStopCallback(NotifyCallback callback, boolean initialNotify)
public static void cancelEStopCallback(int uid)
public static boolean getEStop()
public static void setEStop(boolean eStop)
public static int registerFmsAttachedCallback(NotifyCallback callback, boolean initialNotify)
public static void cancelFmsAttachedCallback(int uid)
public static boolean getFmsAttached()
public static void setFmsAttached(boolean fmsAttached)
public static int registerDsAttachedCallback(NotifyCallback callback, boolean initialNotify)
public static void cancelDsAttachedCallback(int uid)
public static boolean getDsAttached()
public static void setDsAttached(boolean dsAttached)
public static void setJoystickAxes(byte joystickNum, float[] axesArray)
public static void setJoystickPOVs(byte joystickNum, short[] povsArray)
public static void setJoystickButtons(byte joystickNum, int buttons, int count)
public static void setMatchInfo(String eventName, String gameSpecificMessage, int matchNumber, int replayNumber, int matchType)
public static void registerAllCallbacks(NotifyCallback callback, boolean initialNotify)
public static void notifyNewData()
public static void resetData()