Package com.ctre.phoenix.motorcontrol
Class SupplyCurrentLimitConfiguration
java.lang.Object
com.ctre.phoenix.motorcontrol.SupplyCurrentLimitConfiguration
Supply-side current limiting.  This is typically used to prevent breakers from tripping.
- 
Field SummaryFieldsModifier and TypeFieldDescriptiondoubleThe "holding" current (amperes) to limit to when feature is activated.booleanTrue/False to enable/disable limit feature.doubleCurrent must exceed this threshold (amperes) before limiting occurs.doubleHow long current must exceed threshold (seconds) before limiting occurs.
- 
Constructor SummaryConstructorsConstructorDescriptionSupplyCurrentLimitConfiguration(boolean enable, double currentLimit, double triggerThresholdCurrent, double triggerThresholdTime) SupplyCurrentLimitConfiguration(double[] doubleArray) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddeserialize(double[] doubles) booleandouble[]toArray()toString()
- 
Field Details- 
enableTrue/False to enable/disable limit feature.
- 
currentLimitThe "holding" current (amperes) to limit to when feature is activated.
- 
triggerThresholdCurrentCurrent must exceed this threshold (amperes) before limiting occurs. If this value is less than currentLimit, then currentLimit is used as the threshold.
- 
triggerThresholdTimeHow long current must exceed threshold (seconds) before limiting occurs.
 
- 
- 
Constructor Details- 
SupplyCurrentLimitConfigurationpublic SupplyCurrentLimitConfiguration()
- 
SupplyCurrentLimitConfigurationpublic SupplyCurrentLimitConfiguration(boolean enable, double currentLimit, double triggerThresholdCurrent, double triggerThresholdTime) 
- 
SupplyCurrentLimitConfiguration
 
- 
- 
Method Details