Package edu.wpi.first.hal.simulation
Class SPIAccelerometerDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.SPIAccelerometerDataJNI
JNI for SPI accelerometer data.
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wpi.first.hal.JNIWrapper
JNIWrapper.Helper
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
cancelActiveCallback
(int index, int uid) static void
cancelRangeCallback
(int index, int uid) static void
cancelXCallback
(int index, int uid) static void
cancelYCallback
(int index, int uid) static void
cancelZCallback
(int index, int uid) static boolean
getActive
(int index) static int
getRange
(int index) static double
getX
(int index) static double
getY
(int index) static double
getZ
(int index) static int
registerActiveCallback
(int index, NotifyCallback callback, boolean initialNotify) static int
registerRangeCallback
(int index, NotifyCallback callback, boolean initialNotify) static int
registerXCallback
(int index, NotifyCallback callback, boolean initialNotify) static int
registerYCallback
(int index, NotifyCallback callback, boolean initialNotify) static int
registerZCallback
(int index, NotifyCallback callback, boolean initialNotify) static void
resetData
(int index) static void
setActive
(int index, boolean active) static void
setRange
(int index, int range) static void
setX
(int index, double x) static void
setY
(int index, double y) static void
setZ
(int index, double z) Methods inherited from class edu.wpi.first.hal.JNIWrapper
forceLoad, suppressUnused
-
Method Details
-
registerActiveCallback
-
cancelActiveCallback
-
getActive
-
setActive
-
registerRangeCallback
-
cancelRangeCallback
-
getRange
-
setRange
-
registerXCallback
-
cancelXCallback
-
getX
-
setX
-
registerYCallback
-
cancelYCallback
-
getY
-
setY
-
registerZCallback
-
cancelZCallback
-
getZ
-
setZ
-
resetData
-