Package edu.wpi.first.hal.simulation
Class AnalogGyroDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.AnalogGyroDataJNI
public class AnalogGyroDataJNI extends JNIWrapper
JNI for analog gyro data.
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description static void
cancelAngleCallback(int index, int uid)
static void
cancelInitializedCallback(int index, int uid)
static void
cancelRateCallback(int index, int uid)
static double
getAngle(int index)
static boolean
getInitialized(int index)
static double
getRate(int index)
static int
registerAngleCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerRateCallback(int index, NotifyCallback callback, boolean initialNotify)
static void
resetData(int index)
static void
setAngle(int index, double angle)
static void
setInitialized(int index, boolean initialized)
static void
setRate(int index, double rate)
-
Method Details
-
registerAngleCallback
-
cancelAngleCallback
-
getAngle
-
setAngle
-
registerRateCallback
-
cancelRateCallback
-
getRate
-
setRate
-
registerInitializedCallback
public static int registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelInitializedCallback
-
getInitialized
-
setInitialized
-
resetData
-