Package edu.wpi.first.hal.simulation
Class REVPHDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.REVPHDataJNI
public class REVPHDataJNI extends JNIWrapper
JNI for REV PH data.
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description static void
cancelCompressorConfigTypeCallback(int index, int uid)
static void
cancelCompressorCurrentCallback(int index, int uid)
static void
cancelCompressorOnCallback(int index, int uid)
static void
cancelInitializedCallback(int index, int uid)
static void
cancelPressureSwitchCallback(int index, int uid)
static void
cancelSolenoidOutputCallback(int index, int channel, int uid)
static int
getCompressorConfigType(int index)
static double
getCompressorCurrent(int index)
static boolean
getCompressorOn(int index)
static boolean
getInitialized(int index)
static boolean
getPressureSwitch(int index)
static boolean
getSolenoidOutput(int index, int channel)
static void
registerAllNonSolenoidCallbacks(int index, NotifyCallback callback, boolean initialNotify)
static void
registerAllSolenoidCallbacks(int index, int channel, NotifyCallback callback, boolean initialNotify)
static int
registerCompressorConfigTypeCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerCompressorCurrentCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerCompressorOnCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerPressureSwitchCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerSolenoidOutputCallback(int index, int channel, NotifyCallback callback, boolean initialNotify)
static void
resetData(int index)
static void
setCompressorConfigType(int index, int configType)
static void
setCompressorCurrent(int index, double compressorCurrent)
static void
setCompressorOn(int index, boolean compressorOn)
static void
setInitialized(int index, boolean initialized)
static void
setPressureSwitch(int index, boolean pressureSwitch)
static void
setSolenoidOutput(int index, int channel, boolean solenoidOutput)
-
Method Details
-
registerInitializedCallback
public static int registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelInitializedCallback
-
getInitialized
-
setInitialized
-
registerSolenoidOutputCallback
public static int registerSolenoidOutputCallback(int index, int channel, NotifyCallback callback, boolean initialNotify) -
cancelSolenoidOutputCallback
-
getSolenoidOutput
-
setSolenoidOutput
-
registerCompressorOnCallback
public static int registerCompressorOnCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelCompressorOnCallback
-
getCompressorOn
-
setCompressorOn
-
registerCompressorConfigTypeCallback
public static int registerCompressorConfigTypeCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelCompressorConfigTypeCallback
-
getCompressorConfigType
-
setCompressorConfigType
-
registerPressureSwitchCallback
public static int registerPressureSwitchCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelPressureSwitchCallback
-
getPressureSwitch
-
setPressureSwitch
-
registerCompressorCurrentCallback
public static int registerCompressorCurrentCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelCompressorCurrentCallback
-
getCompressorCurrent
-
setCompressorCurrent
-
registerAllNonSolenoidCallbacks
public static void registerAllNonSolenoidCallbacks(int index, NotifyCallback callback, boolean initialNotify) -
registerAllSolenoidCallbacks
public static void registerAllSolenoidCallbacks(int index, int channel, NotifyCallback callback, boolean initialNotify) -
resetData
-