View Single Post
  #4   Spotlight this post!  
Unread 31-01-2016, 13:39
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Running Two Simultaneous PID Loops

Quote:
Originally Posted by Tominator368 View Post
I apologize for not giving a description of the actual goal in the original post. The biggest thing that I'm interested in knowing is whether or not the way I described in the original post is the actual way PID control with WPILib works. Thanks so much for the help!
Yes your description is correct. Common sensors such as encoder and gyros implement PIDSource, so you would not need to create your own PIDSource unless you want to monkey with the values from them. Since you described a complex output, you would need to implement your own PIDOutput.
Reply With Quote