PneumaticHub

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

Bases: wpilib._wpilib.PneumaticsBase

Overloaded function.

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

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

class Faults

Bases: pybind11_builtins.pybind11_object

class StickyFaults

Bases: pybind11_builtins.pybind11_object

class Version

Bases: pybind11_builtins.pybind11_object

property FirmwareFix
property FirmwareMajor
property FirmwareMinor
property HardwareMajor
property HardwareMinor
property UniqueId
checkAndReserveSolenoids(mask: int) int
checkSolenoidChannel(channel: int) bool
clearStickyFaults() 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
get5VRegulatedVoltage() volts
getAnalogVoltage(channel: int) volts
getCompressor() bool
getCompressorConfigType() wpilib._wpilib.CompressorConfigType
getCompressorCurrent() amperes
getFaults() wpilib._wpilib.PneumaticHub.Faults
getInputVoltage() volts
getModuleNumber() int
getPressure(channel: int) pounds_per_square_inch
getPressureSwitch() bool
getSolenoidDisabledList() int
getSolenoids() int
getSolenoidsTotalCurrent() amperes
getSolenoidsVoltage() volts
getStickyFaults() wpilib._wpilib.PneumaticHub.StickyFaults
getVersion() wpilib._wpilib.PneumaticHub.Version
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