SupplyCurrentLimitConfiguration

class phoenix5.SupplyCurrentLimitConfiguration(*args, **kwargs)

Bases: pybind11_object

Describes the desired stator current limiting behavior.

Overloaded function.

  1. __init__(self: phoenix5._ctre.SupplyCurrentLimitConfiguration) -> None

Default c’tor. Because currentLimit is zero, limiting is disabled.

  1. __init__(self: phoenix5._ctre.SupplyCurrentLimitConfiguration, enable: bool, currentLimit: float, triggerThresholdCurrent: float, triggerThresholdTime: float) -> None

property currentLimit

The “holding” current (amperes) to limit to when feature is activated.

property enable

True/False to enable/disable limit feature.

toArray() list[float]
property triggerThresholdCurrent

Current must exceed this threshold (amperes) before limiting occurs. If this value is less than currentLimit, then currentLimit is used as the threshold.

property triggerThresholdTime

How long current must exceed threshold (seconds) before limiting occurs.