PIDVController

public void PIDVController(double kp, double ki, double kd, double kV)

Constructs a PIDVController with the specified PID constants and velocity term.

Parameters

kp

The proportional gain.

ki

The integral gain.

kd

The derivative gain.

kV

The velocity term.


public void PIDVController(PIDController controller, double kV)

Constructs a PIDVController by copying the PID constants from an existing PIDController and adding a velocity term.

Parameters

controller

The existing PIDController to copy.

kV

The velocity term.