ClosedLoopRampsConfigs Class

Configs that affect the closed-loop control of this motor controller.

Closed-loop ramp rates for the various control types.

Definition

Namespace: CTRE.Phoenix6.Configs
Assembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
C#
public class ClosedLoopRampsConfigs
Inheritance
Object    ClosedLoopRampsConfigs

Constructors

ClosedLoopRampsConfigsInitializes a new instance of the ClosedLoopRampsConfigs class

Methods

Deserialize Deserialize string and put values into this object
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Serialize Serialize this object into a string
ToString Provides the string representation of this object
(Overrides ObjectToString)

Fields

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
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
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

See Also