WPILibC++ 2024.3.2
frc::PneumaticHub::Faults Struct Reference

#include <frc/PneumaticHub.h>

Public Member Functions

bool GetChannelFault (int channel) const
 Gets whether there is a fault at the specified channel. More...
 

Public Attributes

uint32_t Channel0Fault: 1
 
uint32_t Channel1Fault: 1
 
uint32_t Channel2Fault: 1
 
uint32_t Channel3Fault: 1
 
uint32_t Channel4Fault: 1
 
uint32_t Channel5Fault: 1
 
uint32_t Channel6Fault: 1
 
uint32_t Channel7Fault: 1
 
uint32_t Channel8Fault: 1
 
uint32_t Channel9Fault: 1
 
uint32_t Channel10Fault: 1
 
uint32_t Channel11Fault: 1
 
uint32_t Channel12Fault: 1
 
uint32_t Channel13Fault: 1
 
uint32_t Channel14Fault: 1
 
uint32_t Channel15Fault: 1
 
uint32_t CompressorOverCurrent: 1
 
uint32_t CompressorOpen: 1
 
uint32_t SolenoidOverCurrent: 1
 
uint32_t Brownout: 1
 
uint32_t CanWarning: 1
 
uint32_t HardwareFault: 1
 

Member Function Documentation

◆ GetChannelFault()

bool frc::PneumaticHub::Faults::GetChannelFault ( int  channel) const

Gets whether there is a fault at the specified channel.

Parameters
channelChannel to check for faults.
Returns
True if a a fault exists at the channel, otherwise false.
Exceptions
AChannelIndexOutOfRange error if the provided channel is outside of the range supported by the hardware.

Member Data Documentation

◆ Brownout

uint32_t frc::PneumaticHub::Faults::Brownout

◆ CanWarning

uint32_t frc::PneumaticHub::Faults::CanWarning

◆ Channel0Fault

uint32_t frc::PneumaticHub::Faults::Channel0Fault

◆ Channel10Fault

uint32_t frc::PneumaticHub::Faults::Channel10Fault

◆ Channel11Fault

uint32_t frc::PneumaticHub::Faults::Channel11Fault

◆ Channel12Fault

uint32_t frc::PneumaticHub::Faults::Channel12Fault

◆ Channel13Fault

uint32_t frc::PneumaticHub::Faults::Channel13Fault

◆ Channel14Fault

uint32_t frc::PneumaticHub::Faults::Channel14Fault

◆ Channel15Fault

uint32_t frc::PneumaticHub::Faults::Channel15Fault

◆ Channel1Fault

uint32_t frc::PneumaticHub::Faults::Channel1Fault

◆ Channel2Fault

uint32_t frc::PneumaticHub::Faults::Channel2Fault

◆ Channel3Fault

uint32_t frc::PneumaticHub::Faults::Channel3Fault

◆ Channel4Fault

uint32_t frc::PneumaticHub::Faults::Channel4Fault

◆ Channel5Fault

uint32_t frc::PneumaticHub::Faults::Channel5Fault

◆ Channel6Fault

uint32_t frc::PneumaticHub::Faults::Channel6Fault

◆ Channel7Fault

uint32_t frc::PneumaticHub::Faults::Channel7Fault

◆ Channel8Fault

uint32_t frc::PneumaticHub::Faults::Channel8Fault

◆ Channel9Fault

uint32_t frc::PneumaticHub::Faults::Channel9Fault

◆ CompressorOpen

uint32_t frc::PneumaticHub::Faults::CompressorOpen

◆ CompressorOverCurrent

uint32_t frc::PneumaticHub::Faults::CompressorOverCurrent

◆ HardwareFault

uint32_t frc::PneumaticHub::Faults::HardwareFault

◆ SolenoidOverCurrent

uint32_t frc::PneumaticHub::Faults::SolenoidOverCurrent

The documentation for this struct was generated from the following file: