Go to Post Smells like gracious professionalism in here... :) - marshall [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 16-12-2014, 16:52
jojoguy10's Avatar
jojoguy10 jojoguy10 is offline
Programming/Controls Mentor
AKA: Joe Kelly
FRC #0997 (Spartan Robotics) and FRC #2990 (Hotwire Robotics)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Stayton, OR
Posts: 282
jojoguy10 is a glorious beacon of lightjojoguy10 is a glorious beacon of lightjojoguy10 is a glorious beacon of lightjojoguy10 is a glorious beacon of lightjojoguy10 is a glorious beacon of light
Using a coprocessor for vision

Hi there!

Our team has never really had great success with vision. Specifically talking about this last year (Arial Assist), our code would work half of the time to find the "hot" goal.

I've heard that some people use a separate processor (like the NVIDIA TK1 Jetson (I think?)) to program the vision code. How would our team implement this?

We use Labview to program our robot. I'm wondering how we can use a different/better solution to using the cRIO or Drive Station to do the vision processing.

Thanks in advanced!
Joe
__________________


Reply With Quote
  #2   Spotlight this post!  
Unread 21-12-2014, 20:59
jojoguy10's Avatar
jojoguy10 jojoguy10 is offline
Programming/Controls Mentor
AKA: Joe Kelly
FRC #0997 (Spartan Robotics) and FRC #2990 (Hotwire Robotics)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Stayton, OR
Posts: 282
jojoguy10 is a glorious beacon of lightjojoguy10 is a glorious beacon of lightjojoguy10 is a glorious beacon of lightjojoguy10 is a glorious beacon of lightjojoguy10 is a glorious beacon of light
*bump*
__________________


Reply With Quote
  #3   Spotlight this post!  
Unread 22-12-2014, 07:31
Greg McKaskle Greg McKaskle is online now
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
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: Using a coprocessor for vision

The Jetson board is relatively new, but some teams have incorporated other processors and placed their vision code on it. Searching CD for coprocessor will turn up half dozen different approaches teams have used. It will also bring up some of the issues they have to deal with in order to make their solution effective -- power, communications, and programming among them.

Computer vision is a hard problem, and adding CPU to it doesn't trivialize it. It will open up the door to using higher resolutions, higher framerate, and additional algorithms, but code that doesn't work on the cRIO probably doesn't work on the coprocessor either.

To review the options for vision:
The roboRIO will be about 4x faster than the cRIO.
The dashboard laptop is far faster than either of these, but you must deal with your limited bandwidth and communications delays.
An onboard coprocessor gives you a dedicated piece of HW to integrate with your camera, but there are challenges in getting it to work and keeping it working.

I'm not trying to talk you out of using a coprocessor, but I will also suggest that you look at your previous vision solution and determine why it failed half the time. Getting better at debugging vision problems is key to knowing how to improve it by whatever means.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 22-12-2014, 09:25
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,347
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Using a coprocessor for vision

Greg has given some excellent advice here. Understanding the problem will help you find a solution.

Search for "DoubleVision" to find a solution we used.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #5   Spotlight this post!  
Unread 22-12-2014, 11:47
jojoguy10's Avatar
jojoguy10 jojoguy10 is offline
Programming/Controls Mentor
AKA: Joe Kelly
FRC #0997 (Spartan Robotics) and FRC #2990 (Hotwire Robotics)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Stayton, OR
Posts: 282
jojoguy10 is a glorious beacon of lightjojoguy10 is a glorious beacon of lightjojoguy10 is a glorious beacon of lightjojoguy10 is a glorious beacon of lightjojoguy10 is a glorious beacon of light
Re: Using a coprocessor for vision

Thanks guys! We will look into playing with our vision code and making it work a bit better this year. I just always wondered why some teams use a coprocessor as opposed to the driverstation or cRIO in te past.

I got my answer.
__________________


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:02.

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