Files
allwpilib/wpilibc/src/main/python/semiwrap/PneumaticHub.yml
Gold856 35e8abedeb Don't force public variables to use Hungarian notation (#8774)
People generally have expressed a dislike for the Hungarian notation
used in member variables, especially in examples/templates, and our
styleguide shouldn't be forced on downstream consumers, so this removes
all Hungarian notation from the examples/templates.

There are _some_ benefits to Hungarian for private member variables
(like knowing what's a member vs. local in a PR review) so we'll keep
private member variables the same for now, but public variables should
no longer use Hungarian notation, since it looks much worse. A new PMD
XPath rule has been added to accomplish this goal. Some other
non-compliant variables were fixed for the new rule.
2026-04-25 11:32:08 -07:00

92 lines
2.0 KiB
YAML

extra_includes:
- wpi/util/sendable/SendableBuilder.hpp
- wpi/hardware/pneumatic/Compressor.hpp
- wpi/hardware/pneumatic/Solenoid.hpp
- wpi/hardware/pneumatic/DoubleSolenoid.hpp
classes:
wpi::PneumaticHub:
methods:
PneumaticHub:
overloads:
int:
int, int:
GetCompressor:
DisableCompressor:
EnableCompressorDigital:
EnableCompressorAnalog:
EnableCompressorHybrid:
GetCompressorConfigType:
GetPressureSwitch:
GetCompressorCurrent:
SetSolenoids:
GetSolenoids:
GetModuleNumber:
GetSolenoidDisabledList:
FireOneShot:
SetOneShotDuration:
CheckSolenoidChannel:
CheckAndReserveSolenoids:
UnreserveSolenoids:
ReserveCompressor:
UnreserveCompressor:
MakeSolenoid:
MakeDoubleSolenoid:
MakeCompressor:
GetVersion:
GetFaults:
GetStickyFaults:
ClearStickyFaults:
GetInputVoltage:
Get5VRegulatedVoltage:
GetSolenoidsTotalCurrent:
GetSolenoidsVoltage:
GetAnalogVoltage:
GetPressure:
ReportUsage:
wpi::PneumaticHub::Version:
attributes:
FirmwareMajor:
FirmwareMinor:
FirmwareFix:
HardwareMinor:
HardwareMajor:
UniqueId:
wpi::PneumaticHub::Faults:
attributes:
channel0Fault:
channel1Fault:
channel2Fault:
channel3Fault:
channel4Fault:
channel5Fault:
channel6Fault:
channel7Fault:
channel8Fault:
channel9Fault:
channel10Fault:
channel11Fault:
channel12Fault:
channel13Fault:
channel14Fault:
channel15Fault:
compressorOverCurrent:
compressorOpen:
solenoidOverCurrent:
brownout:
canWarning:
hardwareFault:
methods:
GetChannelFault:
wpi::PneumaticHub::StickyFaults:
attributes:
compressorOverCurrent:
compressorOpen:
solenoidOverCurrent:
brownout:
canWarning:
canBusOff:
hasReset:
hardwareFault:
firmwareFault: