Package com.ctre.phoenixpro.configs
Class ClosedLoopRampsConfigs
java.lang.Object
com.ctre.phoenixpro.configs.ClosedLoopRampsConfigs
- All Implemented Interfaces:
ParentConfiguration,ISerializable
public class ClosedLoopRampsConfigs 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 doubleDutyCycleClosedLoopRampPeriodIf non-zero, this determines how much time to ramp from 0% output to 100% during closed-loop modes.doubleTorqueClosedLoopRampPeriodIf non-zero, this determines how much time to ramp from 0A output to 300A during closed-loop modes.doubleVoltageClosedLoopRampPeriodIf non-zero, this determines how much time to ramp from 0V output to 12V during closed-loop modes. -
Constructor Summary
Constructors Constructor Description ClosedLoopRampsConfigs() -
Method Summary
Modifier and Type Method Description StatusCodedeserialize(String string)Stringserialize()StringtoString()
-
Field Details
-
DutyCycleClosedLoopRampPeriod
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
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
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
-
Method Details
-
toString
-
deserialize
- Specified by:
deserializein interfaceParentConfiguration
-
serialize
- Specified by:
serializein interfaceISerializable
-