ProfiledPIDController

constructor(Kp: Double, Ki: Double, Kd: Double, constraints: TrapezoidProfile.Constraints)

Allocates a ProfiledPIDController with the given constants for Kp, Ki, and Kd.

Parameters

Kp

The proportional coefficient.

Ki

The integral coefficient.

Kd

The derivative coefficient.

constraints

Velocity and acceleration constraints for goal.