Go to Post Congratulations! You have been successful! You got what you wished for! Now get to work. - gblake [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 Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 30-01-2012, 09:43
sometimestommy's Avatar
sometimestommy sometimestommy is offline
Schrödinger's Assistant
AKA: Thomas Moll
FRC #1939 (Ku-Nig-Its)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: US
Posts: 48
sometimestommy is on a distinguished road
[Vision Tracking][Offering Tracking Tutorial/Help]

Good news everyone! Team 1939 has vision tracking up and running on robot code. As one of the lead programmers on the team, I've learned a lot through the process and I'm offering help to any team that needs any assistance with tracking. If you would like some assistance, PM me on the forums and I can point you in the right direction.

To teams that have programming experience:
In order to get code to work for tracking, find the example "rectangle tracking example.vi" (Or something like this) under the Vision section of the support category in lab view. Go To the block diagram (ctrl-e) and then copy all of the code inside of the while loop and save it to another VI.
Next, Open up a robot project from the Labview splash screen and open the VI that you just created. Under team code, go to the vision tracking VI and paste the code from your saved VI into the inner most while loop box. then simply wire the purple image stream from inside the loop to the top left corner of your imported code. Then just run robot main.VI, (with your bridge connecting your laptop, axis camera, and robot), then open up the front panel of your vision tracking vi and look at the image viewers, If your camera is appropriately set up, you should see what the camera is seeing.
Then, simply click the "Luminance" Tab above the original image and adjust the sliders such that the target is being tracked (with retro reflective tape and a flashlight next to the camera. then you get a Target Array out with the X, Y , and distance.

Thanks for Listening!

ps: Later today i can get some of the code in Sub Vi form so that teams can drag and drop. But please actually look into the code to learn how it functions!

-Thomas Team 1939
__________________
-Team 1939 The Barstow Ku-Nig-Its!
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 20:44.

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