CTRE_Phoenix 5.20.2
|
Public Member Functions | |
StatorCurrentLimitConfiguration (boolean enable, double currentLimit, double triggerThresholdCurrent, double triggerThresholdTime) | |
StatorCurrentLimitConfiguration (double[] doubleArray) | |
String | toString () |
double[] | toArray () |
void | deserialize (double[] doubles) |
boolean | equals (StatorCurrentLimitConfiguration rhs) |
Public Attributes | |
boolean | enable = false |
double | currentLimit = 0 |
double | triggerThresholdCurrent = 0 |
double | triggerThresholdTime = 0 |
Stator-side current limiting. This is typically used to limit acceleration/torque and heat generation.
|
inline |
double com.ctre.phoenix.motorcontrol.StatorCurrentLimitConfiguration.currentLimit = 0 |
The "holding" current (amperes) to limit to when feature is activated.
boolean com.ctre.phoenix.motorcontrol.StatorCurrentLimitConfiguration.enable = false |
True/False to enable/disable limit feature.
double com.ctre.phoenix.motorcontrol.StatorCurrentLimitConfiguration.triggerThresholdCurrent = 0 |
Current must exceed this threshold (amperes) before limiting occurs. If this value is less than currentLimit, then currentLimit is used as the threshold.
double com.ctre.phoenix.motorcontrol.StatorCurrentLimitConfiguration.triggerThresholdTime = 0 |
How long current must exceed threshold (seconds) before limiting occurs.