PneumaticsControlModule

class wpilib.PneumaticsControlModule(*args, **kwargs)

Bases: wpilib._wpilib.PneumaticsBase

Overloaded function.

  1. __init__(self: wpilib._wpilib.PneumaticsControlModule) -> None

  2. __init__(self: wpilib._wpilib.PneumaticsControlModule, module: int) -> None

checkAndReserveSolenoids(mask: int) int
checkSolenoidChannel(channel: int) bool
clearAllStickyFaults() None
disableCompressor() None
enableCompressorAnalog(minPressure: pounds_per_square_inch, maxPressure: pounds_per_square_inch) None
enableCompressorDigital() None
enableCompressorHybrid(minPressure: pounds_per_square_inch, maxPressure: pounds_per_square_inch) None
fireOneShot(index: int) None
getAnalogVoltage(channel: int) volts
getCompressor() bool
getCompressorConfigType() wpilib._wpilib.CompressorConfigType
getCompressorCurrent() amperes
getCompressorCurrentTooHighFault() bool
getCompressorCurrentTooHighStickyFault() bool
getCompressorNotConnectedFault() bool
getCompressorNotConnectedStickyFault() bool
getCompressorShortedFault() bool
getCompressorShortedStickyFault() bool
getModuleNumber() int
getPressure(channel: int) pounds_per_square_inch
getPressureSwitch() bool
getSolenoidDisabledList() int
getSolenoidVoltageFault() bool
getSolenoidVoltageStickyFault() bool
getSolenoids() int
makeCompressor() wpilib._wpilib.Compressor
makeDoubleSolenoid(forwardChannel: int, reverseChannel: int) wpilib._wpilib.DoubleSolenoid
makeSolenoid(channel: int) wpilib._wpilib.Solenoid
reserveCompressor() bool
setOneShotDuration(index: int, duration: seconds) None
setSolenoids(mask: int, values: int) None
unreserveCompressor() None
unreserveSolenoids(mask: int) None