OpenLoopRampsConfigs Class

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

Open-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 OpenLoopRampsConfigs
Inheritance
Object    OpenLoopRampsConfigs

Constructors

OpenLoopRampsConfigsInitializes a new instance of the OpenLoopRampsConfigs 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

DutyCycleOpenLoopRampPeriod If non-zero, this determines how much time to ramp from 0% output to 100% during open-loop modes.
  • Minimum Value – 0
  • Maximum Value – 1
  • Default Value – 0
  • Units – sec
TorqueOpenLoopRampPeriod If non-zero, this determines how much time to ramp from 0A output to 300A during open-loop modes.
  • Minimum Value – 0
  • Maximum Value – 10
  • Default Value – 0
  • Units – sec
VoltageOpenLoopRampPeriod If non-zero, this determines how much time to ramp from 0V output to 12V during open-loop modes.
  • Minimum Value – 0
  • Maximum Value – 1
  • Default Value – 0
  • Units – sec

See Also