View Single Post
  #8   Spotlight this post!  
Unread 15-02-2009, 01:51
smackee618 smackee618 is offline
Registered User
FRC #1327
 
Join Date: Jan 2009
Location: St. Louis, MO
Posts: 7
smackee618 is an unknown quantity at this point
Re: No robot available to test code on

Quote:
Originally Posted by Jetweb View Post
Just a hint for tuning a bunch of PID's quickly. Make a box with 3 pots that plug into the driver station and write some code to take them and set there values to the loop dynamically.

I'm not a labview person so you might be able to do that with labview instead of pots, but that's how we old fashion people on my team do it.
I am not completely sure of what you are suggesting here. I think you are saying that the pots will to allow you to tune the PID on the fly. If so, this sounds like a really good idea for people who are not using labview. Labview makes it easy, though (front panel ftw)

I'm getting off topic here, but this talk about pots has sparked my interest. Assuming that I was correct about pots being used to tune the three values in a PID controller, I have another question (I don't know much about PIDs, so this might be a dumb question). How do you determine the range of values that you want the pot to give you for the PID? Do you just make an educated guess?

Also, thanks for all the great advice from everybody. I'm starting to feel the old excitement again.