Quote:
Originally Posted by E Dawg
I did some hunting in the class hierarchy and there are no derived classes. That's why we're confused. Maybe it is a good idea to create our own derived classes instead of using PIDController directly?
|
Unless you have specific reasons to do so, such as a custom error calculation or other changes from the default PID calculations done by WPILib, it's easier to just use the built in implementation. As everyone else has said, the functions are virtual so that IF you decide to create a custom controller, you can override the default implementation.