Class DriverStationDataJNI


  • public class DriverStationDataJNI
    extends JNIWrapper
    • Constructor Detail

      • DriverStationDataJNI

        public DriverStationDataJNI()
    • Method Detail

      • registerEnabledCallback

        public static int registerEnabledCallback​(NotifyCallback callback,
                                                  boolean initialNotify)
      • cancelEnabledCallback

        public static void cancelEnabledCallback​(int uid)
      • getEnabled

        public static boolean getEnabled()
      • setEnabled

        public static void setEnabled​(boolean enabled)
      • registerAutonomousCallback

        public static int registerAutonomousCallback​(NotifyCallback callback,
                                                     boolean initialNotify)
      • cancelAutonomousCallback

        public static void cancelAutonomousCallback​(int uid)
      • getAutonomous

        public static boolean getAutonomous()
      • setAutonomous

        public static void setAutonomous​(boolean autonomous)
      • registerTestCallback

        public static int registerTestCallback​(NotifyCallback callback,
                                               boolean initialNotify)
      • cancelTestCallback

        public static void cancelTestCallback​(int uid)
      • getTest

        public static boolean getTest()
      • setTest

        public static void setTest​(boolean test)
      • registerEStopCallback

        public static int registerEStopCallback​(NotifyCallback callback,
                                                boolean initialNotify)
      • cancelEStopCallback

        public static void cancelEStopCallback​(int uid)
      • getEStop

        public static boolean getEStop()
      • setEStop

        public static void setEStop​(boolean eStop)
      • registerFmsAttachedCallback

        public static int registerFmsAttachedCallback​(NotifyCallback callback,
                                                      boolean initialNotify)
      • cancelFmsAttachedCallback

        public static void cancelFmsAttachedCallback​(int uid)
      • getFmsAttached

        public static boolean getFmsAttached()
      • setFmsAttached

        public static void setFmsAttached​(boolean fmsAttached)
      • registerDsAttachedCallback

        public static int registerDsAttachedCallback​(NotifyCallback callback,
                                                     boolean initialNotify)
      • cancelDsAttachedCallback

        public static void cancelDsAttachedCallback​(int uid)
      • getDsAttached

        public static boolean getDsAttached()
      • setDsAttached

        public static void setDsAttached​(boolean dsAttached)
      • setJoystickAxes

        public static void setJoystickAxes​(byte joystickNum,
                                           float[] axesArray)
      • setJoystickPOVs

        public static void setJoystickPOVs​(byte joystickNum,
                                           short[] povsArray)
      • setJoystickButtons

        public static void setJoystickButtons​(byte joystickNum,
                                              int buttons,
                                              int count)
      • setMatchInfo

        public static void setMatchInfo​(String eventName,
                                        String gameSpecificMessage,
                                        int matchNumber,
                                        int replayNumber,
                                        int matchType)
      • registerAllCallbacks

        public static void registerAllCallbacks​(NotifyCallback callback,
                                                boolean initialNotify)
      • notifyNewData

        public static void notifyNewData()
      • resetData

        public static void resetData()