|
Re: Speed PID loop
You can implement it using an Encoder that has setPIDSourceParameter(kRate); That is to say the encoder has to output its rate, not its distance (or position).
Also remember changing/adding files in the WPILIB requires you to rebuild the classes.jar, otherwise your change is not reflected.
|