Package edu.wpi.first.hal.simulation
Class PWMDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.PWMDataJNI
public class PWMDataJNI extends JNIWrapper
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description PWMDataJNI()
-
Method Summary
Modifier and Type Method Description static void
cancelInitializedCallback(int index, int uid)
static void
cancelPeriodScaleCallback(int index, int uid)
static void
cancelPositionCallback(int index, int uid)
static void
cancelRawValueCallback(int index, int uid)
static void
cancelSpeedCallback(int index, int uid)
static void
cancelZeroLatchCallback(int index, int uid)
static boolean
getInitialized(int index)
static int
getPeriodScale(int index)
static double
getPosition(int index)
static int
getRawValue(int index)
static double
getSpeed(int index)
static boolean
getZeroLatch(int index)
static int
registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerPeriodScaleCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerPositionCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerRawValueCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerSpeedCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerZeroLatchCallback(int index, NotifyCallback callback, boolean initialNotify)
static void
resetData(int index)
static void
setInitialized(int index, boolean initialized)
static void
setPeriodScale(int index, int periodScale)
static void
setPosition(int index, double position)
static void
setRawValue(int index, int rawValue)
static void
setSpeed(int index, double speed)
static void
setZeroLatch(int index, boolean zeroLatch)
-
Constructor Details
-
PWMDataJNI
public PWMDataJNI()
-
-
Method Details
-
registerInitializedCallback
public static int registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelInitializedCallback
-
getInitialized
-
setInitialized
-
registerRawValueCallback
public static int registerRawValueCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelRawValueCallback
-
getRawValue
-
setRawValue
-
registerSpeedCallback
-
cancelSpeedCallback
-
getSpeed
-
setSpeed
-
registerPositionCallback
public static int registerPositionCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelPositionCallback
-
getPosition
-
setPosition
-
registerPeriodScaleCallback
public static int registerPeriodScaleCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelPeriodScaleCallback
-
getPeriodScale
-
setPeriodScale
-
registerZeroLatchCallback
public static int registerZeroLatchCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelZeroLatchCallback
-
getZeroLatch
-
setZeroLatch
-
resetData
-