Slot1ConfigskP Field

Proportional Gain

The units for this gain is dependent on the control mode. Since this gain is multiplied by error in the input, the units should be defined as units of output per unit of input error. For example, when controlling velocity using a duty cycle closed loop, the units for the proportional gain will be duty cycle per rps, or 1/rps.

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

Field Value

Double

See Also