Faults
- class phoenix5.Faults(*args, **kwargs)
Bases:
pybind11_object
All the faults available to motor controllers
Overloaded function.
__init__(self: phoenix5._ctre.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.Faults) -> None
- property APIError
API error detected. Make sure API and firmware versions are compatible.
- property ForwardLimitSwitch
Forward limit switch is tripped and device is trying to go forward Only trips when the device is limited
- property ForwardSoftLimit
Sensor is beyond forward soft limit and device is trying to go forward Only trips when the device is limited
- property HardwareESDReset
Not used, @see ResetDuringEn
- property HardwareFailure
Device detects hardware failure
- property RemoteLossOfSignal
Remote Sensor is no longer detected on bus
- property ResetDuringEn
Device was powered-on or reset while robot is enabled. Check your breakers and wiring.
- property ReverseLimitSwitch
Reverse limit switch is tripped and device is trying to go reverse Only trips when the device is limited
- property ReverseSoftLimit
Sensor is beyond reverse soft limit and device is trying to go reverse Only trips when the device is limited
- property SensorOutOfPhase
Device detects its sensor is out of phase
- property SensorOverflow
Device’s sensor overflowed
- property SupplyOverV
Supply is well above the rated voltage of the hardware. This fault is specific to Brushless.
- property SupplyUnstable
Supply is rapidly fluctuating and unstable. This fault is specific to Brushless.
- property UnderVoltage
Motor Controller is under 6.5V
- hasAnyFault() bool
- Returns:
true if any faults are tripped
- toBitfield() int
- Returns:
Current fault list as a bit field