Slot1ConfigskD Field

Derivative Gain

The units for this gain is dependent on the control mode. Since this gain is multiplied by the derivative of error in the input with respect to time (in units of seconds), the units should be defined as units of output per unit of the differentiated input error. For example, when controlling velocity using a duty cycle closed loop, the derivative of velocity with respect to time is rps/s, which is acceleration. Therefore, the units for the derivative gain will be duty cycle per unit of acceleration error, or 1/(rps/s).

  • Minimum Value – 0
  • Maximum Value – 3.4e+38
  • Default Value – 0
  • Units

Definition

Namespace: CTRE.Phoenix6.Configs
Assembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
C#
public double kD

Field Value

Double

See Also