Quote:
Originally Posted by jwakeman
WPILib question.
Is there a reason that the Encoder class doesn't implement the PIDSource interface? I see that it includes the header file but it doesn't actually inherit from PIDSource. Is this just a "TODO" for the lib or is there something fundamental that prevents using an encoder as PIDSource?
|
This is (was) a TODO... it will be implemented in the next update.
There is a new SetPIDSourceParameter() method that lets you pick which one is your process variable.
-Joe