Package edu.wpi.first.hal.simulation
Class AccelerometerDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.AccelerometerDataJNI
public class AccelerometerDataJNI extends JNIWrapper
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description AccelerometerDataJNI()
-
Method Summary
Modifier and Type Method Description static 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)
-
Constructor Details
-
AccelerometerDataJNI
public AccelerometerDataJNI()
-
-
Method Details
-
registerActiveCallback
public static int registerActiveCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelActiveCallback
-
getActive
-
setActive
-
registerRangeCallback
-
cancelRangeCallback
-
getRange
-
setRange
-
registerXCallback
-
cancelXCallback
-
getX
-
setX
-
registerYCallback
-
cancelYCallback
-
getY
-
setY
-
registerZCallback
-
cancelZCallback
-
getZ
-
setZ
-
resetData
-