TorqueCurrentConfigs Class

Configs to control the maximum and minimum applied torque when using Torque Current control types.

Similar to peak output, but for the TorqueCurrentFOC control type requests.

Definition

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

Constructors

TorqueCurrentConfigsInitializes a new instance of the TorqueCurrentConfigs 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

PeakForwardTorqueCurrent Maximum (forward) output during torque current based control modes.
  • Minimum Value – -800
  • Maximum Value – 800
  • Default Value – 800
  • Units – A
PeakReverseTorqueCurrent Minimum (reverse) output during torque current based control modes.
  • Minimum Value – -800
  • Maximum Value – 800
  • Default Value – -800
  • Units – A
TorqueNeutralDeadband Configures the output deadband during torque current based control modes.
  • Minimum Value – 0
  • Maximum Value – 25
  • Default Value – 0.0
  • Units – A

See Also