Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   PID Auto Aim Question (http://www.chiefdelphi.com/forums/showthread.php?t=104676)

Robobuff1.0 16-03-2012 00:29

PID Auto Aim Question
 
1 Attachment(s)
okay I did plenty of research here on chiefdelphi and the NI example codes. Now what I am trying to do is to use the camera and center our robot using a turret. I am a rookie programmer and dont really know much about PID and vision processing. My question is if the attached code below is right and how do I choose for it to track the top or middle hope? It will be very helpful if I see an example. (and I haven't put the refnum yet so don't worry about that part.) Thanks in advance our team will appreciateit :]

Ether 16-03-2012 09:28

Re: PID Auto Aim Question
 
Quote:

Originally Posted by Robobuff1.0 (Post 1144840)
okay I did plenty of research here on chiefdelphi and the NI example codes. Now what I am trying to do is to use the camera and center our robot using a turret. I am a rookie programmer and dont really know much about PID and vision processing. My question is if the attached code below is right and how do I choose for it to track the top or middle hope? It will be very helpful if I see an example. (and I haven't put the refnum yet so don't worry about that part.) Thanks in advance our team will appreciate it

I see only one input going into each PID. Each PID needs both a setpoint and a process variable input.



Robobuff1.0 16-03-2012 11:13

Re: PID Auto Aim Question
 
Quote:

Originally Posted by Ether (Post 1144919)
I see only one input going into each PID. Each PID needs both a setpoint and a process variable input.



That was kind of part of my question I have never used PID before so I dont really know what to put, what are those (setpoint and process variable input) and what do I put for those?:confused:

Ether 16-03-2012 11:30

Re: PID Auto Aim Question
 
Quote:

Originally Posted by Robobuff1.0 (Post 1144951)
That was kind of part of my question I have never used PID before so I dont really know what to put, what are those (setpoint and process variable input) and what do I put for those?:confused:

Read the LabVIEW help for PID. It explains a lot.

Then look at this example:
http://team358.org/files/programming...PIDexample.jpg

Then read this explanation:
http://uberbots.org/o/Resources/For_...ms/PID_Control

Then search CD for PID threads.

Then ask specific questions about what you don't understand.



Robobuff1.0 16-03-2012 12:52

Re: PID Auto Aim Question
 
Thank you! that was very helpful I understand it better now:)


All times are GMT -5. The time now is 11:12.

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