Go to Post Remember those two words people. Gracious Professionalism. - Elgin Clock [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 13-01-2013, 17:38
Priyesh69 Priyesh69 is offline
Registered User
FRC #3988
 
Join Date: Nov 2012
Location: montreal
Posts: 46
Priyesh69 is an unknown quantity at this point
Help with vision

Hi, this is our our second year at frc. This year, we intent do a vision programme to help with the shooter trageting. We are planing to make a shooter the can change it's angle y, so depending from where it will automaticly change its angle for the distance. We haven't started yet. Im asking from where we should start off and the step to do to get to our objective.
Reply With Quote
  #2   Spotlight this post!  
Unread 13-01-2013, 18:15
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Help with vision

http://wpilib.screenstepslive.com/s/3120/m/8731
Reply With Quote
  #3   Spotlight this post!  
Unread 13-01-2013, 20:42
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: Help with vision

The resource linked above should have everything you need to get the vision code going. I have two things to add that may help you:

1. Be careful when integrating the rectangular vision tracking code into your main robot project - I would suggest making a copy of the VI, putting that in your robot project folder, and then importing that copy into your project. The other alternative would be importing the VI directly from the examples folder, but this presents a number of small file-management annoyances.

2. The tracking VI will output target data in the form of X and Y coordinates. The general idea would be to have your code compare the coordinates of the target to where you want the target be. This could mean the center of the camera's vision, which would be the (0,0) point. By finding the difference between where the target is and where the center of your camera is, you can turn your aiming device accordingly. The code for this is fun to make and not too advanced, so I won't go much further into detail.
Reply With Quote
  #4   Spotlight this post!  
Unread 14-01-2013, 17:08
Priyesh69 Priyesh69 is offline
Registered User
FRC #3988
 
Join Date: Nov 2012
Location: montreal
Posts: 46
Priyesh69 is an unknown quantity at this point
Re: Help with vision

thank you very much
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 21:51.

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