Package edu.wpi.first.hal
Class CTREPCMJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.CTREPCMJNI
public class CTREPCMJNI extends JNIWrapper
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description CTREPCMJNI()
-
Method Summary
Modifier and Type Method Description static boolean
checkSolenoidChannel(int channel)
static void
clearAllStickyFaults(int handle)
static void
fireOneShot(int handle, int index)
static void
free(int handle)
static boolean
getClosedLoopControl(int handle)
static boolean
getCompressor(int handle)
static double
getCompressorCurrent(int handle)
static boolean
getCompressorCurrentTooHighFault(int handle)
static boolean
getCompressorCurrentTooHighStickyFault(int handle)
static boolean
getCompressorNotConnectedFault(int handle)
static boolean
getCompressorNotConnectedStickyFault(int handle)
static boolean
getCompressorShortedFault(int handle)
static boolean
getCompressorShortedStickyFault(int handle)
static boolean
getPressureSwitch(int handle)
static int
getSolenoidDisabledList(int handle)
static int
getSolenoids(int handle)
static boolean
getSolenoidVoltageFault(int handle)
static boolean
getSolenoidVoltageStickyFault(int handle)
static int
initialize(int module)
static void
setClosedLoopControl(int handle, boolean enabled)
static void
setOneShotDuration(int handle, int index, int durMs)
static void
setSolenoids(int handle, int mask, int values)
-
Constructor Details
-
CTREPCMJNI
public CTREPCMJNI()
-
-
Method Details
-
initialize
-
free
-
checkSolenoidChannel
-
getCompressor
-
setClosedLoopControl
-
getClosedLoopControl
-
getPressureSwitch
-
getCompressorCurrent
-
getCompressorCurrentTooHighFault
-
getCompressorCurrentTooHighStickyFault
-
getCompressorShortedFault
-
getCompressorShortedStickyFault
-
getCompressorNotConnectedFault
-
getCompressorNotConnectedStickyFault
-
getSolenoids
-
setSolenoids
-
getSolenoidDisabledList
-
getSolenoidVoltageFault
-
getSolenoidVoltageStickyFault
-
clearAllStickyFaults
-
fireOneShot
-
setOneShotDuration
-