View Single Post
  #1   Spotlight this post!  
Unread 10-05-2013, 12:52
ArzaanK ArzaanK is offline
Registered User
FRC #1325 (Inverse Paradox)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Mississauga, Ontario, Canada
Posts: 40
ArzaanK is an unknown quantity at this point
Controlling PID Gains from the Dashboard

Hi Chief Delphi

This year was the first time I did any major programming on our robot. To achieve shooter consistency I programmed "bang bang" control. Although it worked the way I wanted it to, I have been exploring the idea of PID. I would like to get some practice programming PID so that I can be better prepared to use it next year. I had no problems finding out how to program the loop, but from what I have heard, tuning the PID Gains can be time consuming. To make tuning the PID much quicker, I want to make an area on the dashboard where I can set each gain to find the values that work for our robot. I have used to smart dashboard tools before to create other indicators but I am having trouble with this one. Attached is an image of what I have so far. As you can see on the bottom, I made a control for the PID Gains from the PID vi and unbundled them to get each gain. If what I want to achieve is possible, what are the next steps I have to take. I tried hooking up the SD Read Number to it, but it resulted in a broken wire.



For those of you who cannot see the image it can be seen at the following URL:

http://postimg.org/image/fof7m4xnn/

Any help is greatly appreciated.
__________________
Arzaan Khairulla
Programmer/Driver
2013 Greater Toronto Regional East Winners with 1114 and 2056
2013 Galileo Division
Reply With Quote