PigeonIMU_Faults
- class phoenix5.sensors.PigeonIMU_Faults(*args, **kwargs)
Bases:
pybind11_object
Sticky faults available to Pigeon
Overloaded function.
__init__(self: phoenix5._ctre.sensors.PigeonIMU_Faults, bits: int) -> None
Creates fault list with specified bit field of faults
- Parameters:
bits – bit field of faults to update with
__init__(self: phoenix5._ctre.sensors.PigeonIMU_Faults) -> None
- hasAnyFault() bool
- Returns:
true if any faults are tripped
- toBitfield() int
- Returns:
Current fault list as a bit field
- update(bits: int) None
Updates current fault list with specified bit field of faults
- Parameters:
bits – bit field of faults to update with