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
FieldsModifier and TypeFieldDescriptionfinal booleanThe input voltage is below the minimum voltage.final booleanThe device's CAN controller experienced a "Bus Off" event.final booleanA warning was raised by the device's CAN controller.final booleanThe compressor output has an open circuit.final booleanAn overcurrent event occurred on the compressor output.final booleanThe firmware on the device has malfunctioned.final booleanThe hardware on the device has malfunctioned.final booleanThe device has rebooted.final booleanAn overcurrent event occurred on a solenoid output. -
Constructor Summary
Constructors -
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
-