View Single Post
  #7   Spotlight this post!  
Unread 03-02-2013, 10:49
Jay Meldrum's Avatar
Jay Meldrum Jay Meldrum is offline
Registered User
FRC #0067 (H.O.T.)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2003
Location: Michigan
Posts: 42
Jay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud of
Re: PIDController with Potentiometer

Quote:
Originally Posted by nightpool View Post
Try reading armPot->PIDGet(). This should show you exactly what values the PIDController class is getting.
Thanks nightpool. Interesting results. When reading armPot->GetAverageVoltage() we receive values that range from 0-3. (armPot->GetAverageVoltage() is what we return as the input to the PID loop). However when we read armPot->PIDGet() we receive values from 300 to 600. When we change our set points to match what PIDGet is receiving the PID works as expected... Not sure what is going on here, but at least we have a solution.

Thanks again
__________________
2012-2015 - FRC 67 - Programming/Controls Lead Mentor
2003-2005 - FRC 857 - Driver

Check us out at http://www.hotteam67.org
Previous year design docs, programming tutorials, and more!
Reply With Quote