Go to Post This system sucks more than our ball possession system. - IndySam [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-02-2013, 19:09
bulky234 bulky234 is offline
Darius DeSpain
FRC #3008 (Falcons)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Honolulu
Posts: 12
bulky234 is an unknown quantity at this point
Camera Vision Integration

Our team wishes to use an Axis M1011 camera for targeting on your shooter. We were able to make it work for the example code, but when we try move the code into our project for this year we get a whole bunch of errors, as of now we've just been copy and pasting the code. Not sure exactly how to integrate this and any help would be appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 11-02-2013, 23:33
propionate's Avatar
propionate propionate is offline
Team co-lead and LabVIEW programmer
AKA: Stephen
FRC #1732 (Hilltopper Robotics)
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Milwaukee
Posts: 93
propionate is on a distinguished road
Re: Camera Vision Integration

I would suggest undoing anything you have done so far, as following the steps below may conflict with earlier attempts.

1. Create a copy of the "Rectangular Target - 2013" folder that can be found in your LabVIEW program files (let me know if you need help finding it).
2. Move this copied version of the folder into your project folder
3. Open up your project
4. Right click on Vision Processing.vi and click "replace," then select the Vision Processing VI in the "Rectangular Target - 2013" folder that you just copied.
5. Follow the prompts. You'll be told that there are conflicts. For all of them, select the file that was in your original project - not the one that is in the "Rectangular Target" folder.
6. The final prompt will ask again if you want to use the new Vision Processing VI instead of your original one. Confirm that you want to use the one in the "Rectangular Target - 2013" folder.

Once you save the project, go into the new Vision Processing VI and search for the broken wires. You will have to create a new global variable to replace the one that you told it not to reference anymore.
Reply With Quote
  #3   Spotlight this post!  
Unread 12-02-2013, 19:10
bulky234 bulky234 is offline
Darius DeSpain
FRC #3008 (Falcons)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Honolulu
Posts: 12
bulky234 is an unknown quantity at this point
Re: Camera Vision Integration

We got it thanks!
it took a long time and trying different things but we eventually got it i think. We just got the camera to feed the image into the vision proccessing vi but haven't tested it on a target yet but it should work i think.
Thanks for the help!
Reply With Quote
  #4   Spotlight this post!  
Unread 12-02-2013, 23:21
propionate's Avatar
propionate propionate is offline
Team co-lead and LabVIEW programmer
AKA: Stephen
FRC #1732 (Hilltopper Robotics)
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Milwaukee
Posts: 93
propionate is on a distinguished road
Re: Camera Vision Integration

No problem, glad it worked out. This may be a useful resource for you to read and understand regarding target tracking:

http://wpilib.screenstepslive.com/s/...ng-the-targets
Reply With Quote
Reply


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 08:55.

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