Package edu.wpi.first.hal.sim
Class PCMSim
- java.lang.Object
-
- edu.wpi.first.hal.sim.PCMSim
-
public class PCMSim extends Object
-
-
Constructor Summary
Constructors Constructor Description PCMSim(int index)
-
Method Summary
-
-
-
Method Detail
-
registerSolenoidInitializedCallback
public CallbackStore registerSolenoidInitializedCallback(int channel, NotifyCallback callback, boolean initialNotify)
-
getSolenoidInitialized
public boolean getSolenoidInitialized(int channel)
-
setSolenoidInitialized
public void setSolenoidInitialized(int channel, boolean solenoidInitialized)
-
registerSolenoidOutputCallback
public CallbackStore registerSolenoidOutputCallback(int channel, NotifyCallback callback, boolean initialNotify)
-
getSolenoidOutput
public boolean getSolenoidOutput(int channel)
-
setSolenoidOutput
public void setSolenoidOutput(int channel, boolean solenoidOutput)
-
registerCompressorInitializedCallback
public CallbackStore registerCompressorInitializedCallback(NotifyCallback callback, boolean initialNotify)
-
getCompressorInitialized
public boolean getCompressorInitialized()
-
setCompressorInitialized
public void setCompressorInitialized(boolean compressorInitialized)
-
registerCompressorOnCallback
public CallbackStore registerCompressorOnCallback(NotifyCallback callback, boolean initialNotify)
-
getCompressorOn
public boolean getCompressorOn()
-
setCompressorOn
public void setCompressorOn(boolean compressorOn)
-
registerClosedLoopEnabledCallback
public CallbackStore registerClosedLoopEnabledCallback(NotifyCallback callback, boolean initialNotify)
-
getClosedLoopEnabled
public boolean getClosedLoopEnabled()
-
setClosedLoopEnabled
public void setClosedLoopEnabled(boolean closedLoopEnabled)
-
registerPressureSwitchCallback
public CallbackStore registerPressureSwitchCallback(NotifyCallback callback, boolean initialNotify)
-
getPressureSwitch
public boolean getPressureSwitch()
-
setPressureSwitch
public void setPressureSwitch(boolean pressureSwitch)
-
registerCompressorCurrentCallback
public CallbackStore registerCompressorCurrentCallback(NotifyCallback callback, boolean initialNotify)
-
getCompressorCurrent
public double getCompressorCurrent()
-
setCompressorCurrent
public void setCompressorCurrent(double compressorCurrent)
-
resetData
public void resetData()
-
-