Package com.ctre.phoenix.sensors
Class PigeonIMU_StickyFaults
java.lang.Object
com.ctre.phoenix.sensors.PigeonIMU_StickyFaults
Sticky faults available to Pigeon (Currently has none)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
void
update
(int bits) Updates current fault list with specified bit field of faults
-
Constructor Details
-
PigeonIMU_StickyFaults
public PigeonIMU_StickyFaults()
-
-
Method Details
-
hasAnyFault
- Returns:
- true if any faults are tripped
-
toBitfield
- Returns:
- Current fault list as a bit field
-
update
Updates current fault list with specified bit field of faults- Parameters:
bits
- bit field of faults to update with
-