Class REVPHStickyFaults

java.lang.Object
org.wpilib.hardware.hal.REVPHStickyFaults

public class REVPHStickyFaults extends Object
Sticky faults for a REV PH. These faults will remain active until they are reset by the user.
  • Field Details

    • compressorOverCurrent

      public final boolean compressorOverCurrent
      An overcurrent event occurred on the compressor output.
    • compressorOpen

      public final boolean compressorOpen
      The compressor output has an open circuit.
    • solenoidOverCurrent

      public final boolean solenoidOverCurrent
      An overcurrent event occurred on a solenoid output.
    • brownout

      public final boolean brownout
      The input voltage is below the minimum voltage.
    • canWarning

      public final boolean canWarning
      A warning was raised by the device's CAN controller.
    • canBusOff

      public final boolean canBusOff
      The device's CAN controller experienced a "Bus Off" event.
    • hardwareFault

      public final boolean hardwareFault
      The hardware on the device has malfunctioned.
    • firmwareFault

      public final boolean firmwareFault
      The firmware on the device has malfunctioned.
    • hasReset

      public final boolean hasReset
      The device has rebooted.
  • Constructor Details

    • REVPHStickyFaults

      public REVPHStickyFaults(int faults)
      Called from HAL.
      Parameters:
      faults - sticky fault bit mask