Go to Post ask not what your alliance picks can do for you, but what you can do for your alliance picks. - Swan217 [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-01-2016, 17:26
cay cay is offline
Registered User
no team
 
Join Date: Jan 2016
Location: USA
Posts: 7
cay is an unknown quantity at this point
Smile How hard is it to do the vision process?

For this year's game, is it very hard to get the vision process to work? We have never used vision process before, just want to know if it takes too much time to do. Also, if it is doable, where could we find the tutorial?
  #2   Spotlight this post!  
Unread 10-01-2016, 17:35
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 251
BitTwiddler is on a distinguished road
Re: How hard is it to do the vision process?

Quote:
Originally Posted by cay View Post
For this year's game, is it very hard to get the vision process to work? We have never used vision process before, just want to know if it takes too much time to do. Also, if it is doable, where could we find the tutorial?
1. Here's a link to National Instruments' white paper on image processing. It's from the 2012 game but still useful for understanding how to process a target using video imaging. https://decibel.ni.com/content/docs/DOC-20173
2. Teams using LabView for programming may find that the robot main application already contains some software that does this.
Check it out.
  #3   Spotlight this post!  
Unread 10-01-2016, 18:03
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,251
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: How hard is it to do the vision process?

You have to start sometime. If you can afford to dedicated 2 programmers to the task, you could figure it out.

Note: Learn how to launch a thread/process. You won't be able to get it to work inside your main code (takes too long). It is best to run it as a parallel process. Main process sends a request, and looks for the vision process to set a value.
  #4   Spotlight this post!  
Unread 10-01-2016, 18:13
cay cay is offline
Registered User
no team
 
Join Date: Jan 2016
Location: USA
Posts: 7
cay is an unknown quantity at this point
Re: How hard is it to do the vision process?

Quote:
Originally Posted by BitTwiddler View Post
1. Here's a link to National Instruments' white paper on image processing. It's from the 2012 game but still useful for understanding how to process a target using video imaging. https://decibel.ni.com/content/docs/DOC-20173
2. Teams using LabView for programming may find that the robot main application already contains some software that does this.
Check it out.
Thank you so much!
  #5   Spotlight this post!  
Unread 10-01-2016, 18:14
cay cay is offline
Registered User
no team
 
Join Date: Jan 2016
Location: USA
Posts: 7
cay is an unknown quantity at this point
Re: How hard is it to do the vision process?

Quote:
Originally Posted by rich2202 View Post
You have to start sometime. If you can afford to dedicated 2 programmers to the task, you could figure it out.

Note: Learn how to launch a thread/process. You won't be able to get it to work inside your main code (takes too long). It is best to run it as a parallel process. Main process sends a request, and looks for the vision process to set a value.
Thank you! We could try to figure it out.
  #6   Spotlight this post!  
Unread 10-01-2016, 19:23
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: How hard is it to do the vision process?

As mentioned, the default LV code has a camera server for USB. This isn't needed for the Axis, so both of those will work for dashboard display and/or dashboard processing. Robot code contains a camera acquisition loop that is disabled until you turn on a global and add the processing.

The Getting Started window of LabVIEW has a tab on the left for Tutorials. One of them, eight or nine, is about vision and ways to integrate it into either the robot loop or into the dashboard.

There are other good ways to do the processing, but this should get you pretty far down the path. Ask questions in this thread if you have issues.
Greg McKaskle
  #7   Spotlight this post!  
Unread 10-01-2016, 19:44
cay cay is offline
Registered User
no team
 
Join Date: Jan 2016
Location: USA
Posts: 7
cay is an unknown quantity at this point
Re: How hard is it to do the vision process?

Quote:
Originally Posted by Greg McKaskle View Post
As mentioned, the default LV code has a camera server for USB. This isn't needed for the Axis, so both of those will work for dashboard display and/or dashboard processing. Robot code contains a camera acquisition loop that is disabled until you turn on a global and add the processing.

The Getting Started window of LabVIEW has a tab on the left for Tutorials. One of them, eight or nine, is about vision and ways to integrate it into either the robot loop or into the dashboard.

There are other good ways to do the processing, but this should get you pretty far down the path. Ask questions in this thread if you have issues.
Greg McKaskle
Thank you! But I think our team is using Java instead of LabVIEW, so is there a way to learn how to do the vision process for Java?
  #8   Spotlight this post!  
Unread 10-01-2016, 20:36
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: How hard is it to do the vision process?

In that case, I'd look at the Screensteps Live tutorials on vision processing in Java.

Of course, you can also send the images to the dashboard and use a different language.

Good luck.
Greg McKaskle
  #9   Spotlight this post!  
Unread 10-01-2016, 21:12
JCharlton's Avatar
JCharlton JCharlton is offline
Registered User
AKA: JC
no team
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Montreal
Posts: 123
JCharlton is a splendid one to beholdJCharlton is a splendid one to beholdJCharlton is a splendid one to beholdJCharlton is a splendid one to beholdJCharlton is a splendid one to beholdJCharlton is a splendid one to beholdJCharlton is a splendid one to behold
Re: How hard is it to do the vision process?

Can someone comment on how hard is it to create a script with the National Instruments Vision Assistant and then incorporate it into a Java RIO program?

The Vision Assistant is a user-friendly way of getting in to vision processing. Worth installing just to take a look.
__________________
"There is no problem so bad that you can’t make it worse." - via Chris Hadfield
  #10   Spotlight this post!  
Unread 10-01-2016, 21:32
cay cay is offline
Registered User
no team
 
Join Date: Jan 2016
Location: USA
Posts: 7
cay is an unknown quantity at this point
Re: How hard is it to do the vision process?

Quote:
Originally Posted by Greg McKaskle View Post
In that case, I'd look at the Screensteps Live tutorials on vision processing in Java.

Of course, you can also send the images to the dashboard and use a different language.

Good luck.
Greg McKaskle
Thank you so much! We will look at the tutorials.
  #11   Spotlight this post!  
Unread 10-01-2016, 21:34
cay cay is offline
Registered User
no team
 
Join Date: Jan 2016
Location: USA
Posts: 7
cay is an unknown quantity at this point
Re: How hard is it to do the vision process?

Quote:
Originally Posted by JCharlton View Post
Can someone comment on how hard is it to create a script with the National Instruments Vision Assistant and then incorporate it into a Java RIO program?

The Vision Assistant is a user-friendly way of getting in to vision processing. Worth installing just to take a look.
Thank you! We will try the Vision Assistant.
  #12   Spotlight this post!  
Unread 10-01-2016, 21:59
mbshark's Avatar
mbshark mbshark is offline
Registered User
AKA: Myles Byrne
FRC #3932 (The Dirty Mechanics)
Team Role: Leadership
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Boca Raton, FL, USA
Posts: 34
mbshark is an unknown quantity at this point
Re: How hard is it to do the vision process?

You may want to try out RoboRealm. We have had success with it in the past and use Java on our robot. It is included in the KoP and the code is in TIMS. Look at http://www.roborealm.com/FRC2016/index.php for tutorials/downloading. Good luck!

P.S. Please note in the future, that you can reply to multiple posts in one post--this makes it easier to read and get through posts.
__________________


DirtyMechanics.org
2015 Panther Prowl Finalists
2014 South Florida Regional Winners Matches from this Competition
2014 Orlando/UCF Regional Semifinalists Matches from this Competition

2013 South Florida Regional Semifinalists - Judges Award
2013 Orlando Florida Regional Quarterfinalists - Judges Award
  #13   Spotlight this post!  
Unread 10-01-2016, 22:08
cay cay is offline
Registered User
no team
 
Join Date: Jan 2016
Location: USA
Posts: 7
cay is an unknown quantity at this point
Re: How hard is it to do the vision process?

Quote:
Originally Posted by mbshark View Post
You may want to try out RoboRealm. We have had success with it in the past and use Java on our robot. It is included in the KoP and the code is in TIMS. Look at http://www.roborealm.com/FRC2016/index.php for tutorials/downloading. Good luck!

P.S. Please note in the future, that you can reply to multiple posts in one post--this makes it easier to read and get through posts.
Thank you so much! It looks very good!
Closed Thread


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 16:46.

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