View Single Post
  #8   Spotlight this post!  
Unread 15-02-2012, 00:24
VelocityofGear's Avatar
VelocityofGear VelocityofGear is offline
Registered User
FRC #4347 (Mechanical End)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Paterson
Posts: 5
VelocityofGear is an unknown quantity at this point
Re: Extrapolating Direction From Images

Quote:
Originally Posted by plnyyanks View Post
Here are some pointers.
Very funny lol With all the reading and work getting done, it was nice to have a little humor.

I read through the documents, thanks for the links. However, I still do not understand how the process is accomplished inside of LabView. I set up a case select for the automation to run when a button is pressed down.

I think I set up the input and outputs for the PID block correctly as you stated. I enclosed a screen capture of what was done.

You mention to use this code:

Code:
offset = xCenter - (xResolution/2)
I think that is what I have done, I still am unsure however.

As you can see from the picture, I manually set the pixel value for the camera in the x direction. Is there a better way of doing this? Maybe as a variable that will update if the settings are changed?
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	40
Size:	17.5 KB
ID:	11904  

Last edited by VelocityofGear : 15-02-2012 at 00:26. Reason: Needed to attach picture
Reply With Quote