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 :]
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?
Read the LabVIEW help for PID. It explains a lot.
Then read this explanation:
http://uberbots.org/o/Resources/For_FIRST_Teams/Systems/PID_Control
Then search CD for PID threads.
Then ask specific questions about what you don’t understand.
Thank you! that was very helpful I understand it better now:)