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 booleancheckSolenoidChannel(int channel)static voidclearAllStickyFaults(int handle)static voidfireOneShot(int handle, int index)static voidfree(int handle)static booleangetClosedLoopControl(int handle)static booleangetCompressor(int handle)static doublegetCompressorCurrent(int handle)static booleangetCompressorCurrentTooHighFault(int handle)static booleangetCompressorCurrentTooHighStickyFault(int handle)static booleangetCompressorNotConnectedFault(int handle)static booleangetCompressorNotConnectedStickyFault(int handle)static booleangetCompressorShortedFault(int handle)static booleangetCompressorShortedStickyFault(int handle)static booleangetPressureSwitch(int handle)static intgetSolenoidDisabledList(int handle)static intgetSolenoids(int handle)static booleangetSolenoidVoltageFault(int handle)static booleangetSolenoidVoltageStickyFault(int handle)static intinitialize(int module)static voidsetClosedLoopControl(int handle, boolean enabled)static voidsetOneShotDuration(int handle, int index, int durMs)static voidsetSolenoids(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
-