PIDFFController

constructor(pid: PIDController, ff: SystemController, encoder: Encoder)

Construct a new PIDFFController.

Parameters

pid

the PID controller to use

ff

the kV/kA feedforward to use

encoder

the encoder to retrieve velocity/acceleration information from