PigeonIMU_StickyFaults

class phoenix5.sensors.PigeonIMU_StickyFaults(*args, **kwargs)

Bases: pybind11_object

Sticky faults available to Pigeon

Overloaded function.

  1. __init__(self: phoenix5._ctre.sensors.PigeonIMU_StickyFaults, bits: int) -> None

Creates fault list with specified bit field of faults

Parameters:

bits – bit field of faults to update with

  1. __init__(self: phoenix5._ctre.sensors.PigeonIMU_StickyFaults) -> 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