Thread: Tuning PID Code
View Single Post
  #10   Spotlight this post!  
Unread 26-01-2007, 12:25
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Tuning PID Code

Quote:
Originally Posted by Chaychay View Post
I was wondering if this would work equally as well if the POTs were connected to the OI kind of like joysticks.
We did exactly that last year. A student built a "tuning box" with three pots and three pushbuttons (there wasn't really room to make it four and four) that connects to a joystick port. We reserved that port for debug and calibration use.

We used the box to set the PID constants for our turret, drivebase position seek, and direction tracking; and for setting the motor speed and timing for the catapult winder mechanism we started with. We will probably be doing the same thing for our PID parameters this year, with the additional feature of using menus and commands through the program port to save the data to EEPROM the way Kevin Watson's camera software works.