Package com.ctre.phoenixpro.configs
Class TorqueCurrentConfigs
java.lang.Object
com.ctre.phoenixpro.configs.TorqueCurrentConfigs
- All Implemented Interfaces:
ParentConfiguration
,ISerializable
@Deprecated(forRemoval=true) public class TorqueCurrentConfigs extends Object implements ParentConfiguration
Deprecated, for removal: This API element is subject to removal in a future version.
Classes in the phoenixpro package will be removed in 2024.
Users should instead use classes from the phoenix6 package.
Configs that directly affect motor-output.
Includes Motor Invert and various limit features.
-
Field Summary
Fields Modifier and Type Field Description double
PeakForwardTorqueCurrent
Deprecated, for removal: This API element is subject to removal in a future version.Maximum (forward) output during torque current based control modes.double
PeakReverseTorqueCurrent
Deprecated, for removal: This API element is subject to removal in a future version.Minimum (reverse) output during torque current based control modes.double
TorqueNeutralDeadband
Deprecated, for removal: This API element is subject to removal in a future version.Configures the output deadband during torque current based control modes. -
Constructor Summary
Constructors Constructor Description TorqueCurrentConfigs()
Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and Type Method Description StatusCode
deserialize(String string)
Deprecated, for removal: This API element is subject to removal in a future version.String
serialize()
Deprecated, for removal: This API element is subject to removal in a future version.String
toString()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
PeakForwardTorqueCurrent
Deprecated, for removal: This API element is subject to removal in a future version.Maximum (forward) output during torque current based control modes.- Minimum Value: -800
- Maximum Value: 800
- Default Value: 800
- Units: A
-
PeakReverseTorqueCurrent
Deprecated, for removal: This API element is subject to removal in a future version.Minimum (reverse) output during torque current based control modes.- Minimum Value: -800
- Maximum Value: 800
- Default Value: -800
- Units: A
-
TorqueNeutralDeadband
Deprecated, for removal: This API element is subject to removal in a future version.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()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
toString
Deprecated, for removal: This API element is subject to removal in a future version. -
deserialize
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
deserialize
in interfaceParentConfiguration
-
serialize
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
serialize
in interfaceISerializable
-