Package com.ctre.phoenix.sensors
Class PigeonIMU_Faults
java.lang.Object
com.ctre.phoenix.sensors.PigeonIMU_Faults
public class PigeonIMU_Faults extends Object
Faults available to Pigeon (Currently has none)
-
Constructor Summary
Constructors Constructor Description PigeonIMU_Faults()
-
Method Summary
Modifier and Type Method Description boolean
hasAnyFault()
int
toBitfield()
void
update(int bits)
Updates current fault list with specified bit field of faults
-
Constructor Details
-
PigeonIMU_Faults
public PigeonIMU_Faults()
-
-
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
-