ProfiledPIDController

constructor(kP: Double, kI: Double, kD: Double, @NonNull 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.