Go to Post It's sooo stressful! I brought my suitcase to school today, and I still don't know if we're going! - elfenari [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:47.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi