Go to Post Just a note, there are 2,534 teams registered and competing in FRC this year. That means that there are 2,533 teams being run in a manner entirely different than your own. - Jay Trzaskos [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 08-01-2014, 12:36
criogod's Avatar
criogod criogod is offline
Registered User
FRC #4828 (RoboEagles)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: North Carolina
Posts: 12
criogod is an unknown quantity at this point
Exclamation Help with using vision processing software with Java API

My team is in its second year and this will be the first year we are incorporating vision processing in our code for the robot. We used Java our rookie season and I am familiar with most aspects of the Java API. What I want to know is the basic steps to use a vision processing software (ie RoboRealm, OpenCV, SimpleCV), in conjuction with the Java API.

Here are my main questions:
  1. Is the vision processing software running on the driver station pc or the cRIO?
  2. How do you utilize data from the vision software in the actual robot code?
  3. If the vision software is on the cRIO, do we need a special version of the software compatible with the cRIO and/or will it take up a lot of processing power?
  4. Is it possible to use the axis camera over the network to provide a target tracking system viewable from the driver station during teleop?

Thank you so much in advance for helping me out with these issues, I am looking forward to learning a lot of cool things this season!
Reply With Quote
  #2   Spotlight this post!  
Unread 08-01-2014, 22:49
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Help with using vision processing software with Java API

Quote:
Originally Posted by criogod View Post
1. Is the vision processing software running on the driver station pc or the cRIO?
You can choose. RoboRealm is designed for Windows, and so needs to run on the dashboard. OpenCV or SimpleCV could theoretically be run on the cRIO, but that would be a lot of work so you'd probably want to run it on the dashboard or a co-processor. NI Vision runs on the cRIO, and there is a tutorial for using it to find the vision targets. http://wpilib.screenstepslive.com/s/...95-c-java-code

Quote:
2. How do you utilize data from the vision software in the actual robot code?
We write the vision software to determine the distance to the goal and the angle to the goal. We can then use that data to turn towards the goal and drive to the correct distance
Quote:
3. If the vision software is on the cRIO, do we need a special version of the software compatible with the cRIO and/or will it take up a lot of processing power?
The cRIO is too slow for running high frame rate vision processing, but you may not need to process an image very often.

Quote:
4. Is it possible to use the axis camera over the network to provide a target tracking system viewable from the driver station during teleop?
Yes. If this is your goal, you probably want to do the vision processing on the driver station.
Reply With Quote
  #3   Spotlight this post!  
Unread 09-01-2014, 10:07
criogod's Avatar
criogod criogod is offline
Registered User
FRC #4828 (RoboEagles)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: North Carolina
Posts: 12
criogod is an unknown quantity at this point
Thanks for the help.
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 11:06.

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