Package com.ctre.phoenixpro.configs
Class ClosedLoopRampsConfigs
java.lang.Object
com.ctre.phoenixpro.configs.ClosedLoopRampsConfigs
- All Implemented Interfaces:
ParentConfiguration
,ISerializable
@Deprecated(forRemoval=true) public class ClosedLoopRampsConfigs 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
DutyCycleClosedLoopRampPeriod
Deprecated, for removal: This API element is subject to removal in a future version.If non-zero, this determines how much time to ramp from 0% output to 100% during closed-loop modes.double
TorqueClosedLoopRampPeriod
Deprecated, for removal: This API element is subject to removal in a future version.If non-zero, this determines how much time to ramp from 0A output to 300A during closed-loop modes.double
VoltageClosedLoopRampPeriod
Deprecated, for removal: This API element is subject to removal in a future version.If non-zero, this determines how much time to ramp from 0V output to 12V during closed-loop modes. -
Constructor Summary
Constructors Constructor Description ClosedLoopRampsConfigs()
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
-
DutyCycleClosedLoopRampPeriod
Deprecated, for removal: This API element is subject to removal in a future version.If non-zero, this determines how much time to ramp from 0% output to 100% during closed-loop modes.- Minimum Value: 0
- Maximum Value: 1
- Default Value: 0
- Units: sec
-
VoltageClosedLoopRampPeriod
Deprecated, for removal: This API element is subject to removal in a future version.If non-zero, this determines how much time to ramp from 0V output to 12V during closed-loop modes.- Minimum Value: 0
- Maximum Value: 1
- Default Value: 0
- Units: sec
-
TorqueClosedLoopRampPeriod
Deprecated, for removal: This API element is subject to removal in a future version.If non-zero, this determines how much time to ramp from 0A output to 300A during closed-loop modes.- Minimum Value: 0
- Maximum Value: 10
- Default Value: 0
- Units: sec
-
-
Constructor Details
-
ClosedLoopRampsConfigs
public ClosedLoopRampsConfigs()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
-