View Single Post
  #4   Spotlight this post!  
Unread 12-02-2016, 09:50
E Dawg E Dawg is offline
... is not done with FRC yet.
AKA: Ethan
FRC #0159 (Alpine Robotics)
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2012
Location: Fort Collins, CO
Posts: 267
E Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud of
Re: Using functions in PIDController

Quote:
Originally Posted by Kevin Sevcik View Post
The functions are virtual so they are overridable in derived classes. In case you want to make a PID controller with gravity compensation or static friction feedforward or something. They're all implemented in the base PIDController class, so you should be able to call them without exceptions.
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?

Last edited by E Dawg : 12-02-2016 at 09:53.