Package edu.wpi.first.hal
Class REVPHStickyFaults
java.lang.Object
edu.wpi.first.hal.REVPHStickyFaults
Sticky faults for a REV PH. These faults will remain active until they are reset by the user.
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
The input voltage is below the minimum voltage.final boolean
The device's CAN controller experienced a "Bus Off" event.final boolean
A warning was raised by the device's CAN controller.final boolean
The compressor output has an open circuit.final boolean
An overcurrent event occurred on the compressor output.final boolean
The firmware on the device has malfunctioned.final boolean
The hardware on the device has malfunctioned.final boolean
The device has rebooted.final boolean
An overcurrent event occurred on a solenoid output. -
Constructor Summary
-
Method Summary
-
Field Details
-
CompressorOverCurrent
An overcurrent event occurred on the compressor output. -
CompressorOpen
The compressor output has an open circuit. -
SolenoidOverCurrent
An overcurrent event occurred on a solenoid output. -
Brownout
The input voltage is below the minimum voltage. -
CanWarning
A warning was raised by the device's CAN controller. -
CanBusOff
The device's CAN controller experienced a "Bus Off" event. -
HardwareFault
The hardware on the device has malfunctioned. -
FirmwareFault
The firmware on the device has malfunctioned. -
HasReset
The device has rebooted.
-
-
Constructor Details
-
REVPHStickyFaults
Called from HAL.- Parameters:
faults
- sticky fault bit mask
-