Package com.ctre.phoenixpro.configs
Class TorqueCurrentConfigs
java.lang.Object
com.ctre.phoenixpro.configs.TorqueCurrentConfigs
- All Implemented Interfaces:
ParentConfiguration
,ISerializable
public class TorqueCurrentConfigs extends Object implements ParentConfiguration
Configs that directly affect motor-output.
Includes Motor Invert and various limit features.
-
Field Summary
Fields Modifier and Type Field Description double
PeakForwardTorqueCurrent
Maximum (forward) output during torque current based control modes.double
PeakReverseTorqueCurrent
Minimum (reverse) output during torque current based control modes.double
TorqueNeutralDeadband
Configures the output deadband during torque current based control modes. -
Constructor Summary
Constructors Constructor Description TorqueCurrentConfigs()
-
Method Summary
Modifier and Type Method Description StatusCode
deserialize(String string)
String
serialize()
String
toString()
-
Field Details
-
PeakForwardTorqueCurrent
Maximum (forward) output during torque current based control modes.- Minimum Value: -800
- Maximum Value: 800
- Default Value: 800
- Units: A
-
PeakReverseTorqueCurrent
Minimum (reverse) output during torque current based control modes.- Minimum Value: -800
- Maximum Value: 800
- Default Value: -800
- Units: A
-
TorqueNeutralDeadband
Configures the output deadband during torque current based control modes.- Minimum Value: 0
- Maximum Value: 25
- Default Value: 0.0
- Units: A
-
-
Constructor Details
-
TorqueCurrentConfigs
public TorqueCurrentConfigs()
-
-
Method Details
-
toString
-
deserialize
- Specified by:
deserialize
in interfaceParentConfiguration
-
serialize
- Specified by:
serialize
in interfaceISerializable
-