Go to Post Looks like it will be to your advantage to keep the Refs happy. Remember, Donuts go a long way toward that end! - billbo911 [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 25-01-2012, 06:36
Johnny_5's Avatar
Johnny_5 Johnny_5 is offline
Whose cooking motor?
AKA: Isaac
FRC #3484 (Short Circuit)
Team Role: College Student
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Marysville Ohio
Posts: 150
Johnny_5 has a spectacular aura aboutJohnny_5 has a spectacular aura about
Processing Vision Code on Laptop

We have heard just some ideas that vision code could theoretically be processed on a laptop on the robot. After using some of the vision examples implemented in the framework we realized how much of a processor intensive task it is. How would be go about processing code on an on board computer?
Reply With Quote
  #2   Spotlight this post!  
Unread 25-01-2012, 08:08
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,751
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: Processing Vision Code on Laptop

The Rectangular Target VI has code for My Computer target and the cRIO target. One is a PC, the other is on the robot. This will let you compare the results and performance.

I would encourage you to think about the rates you need from the camera and how it will be used before jumping to the laptop. But if you decide to use a laptop, you have two choices. You can use the dashboard program running on you driver station to do the processing and send data back to the robot using UDP or a similar mechanism. Or you can strap a laptop to the robot. That robot still needs to communicate to the cRIO, likely using UDP. The difference is that one is wifi connected and the other uses a cable.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 26-01-2012, 09:04
Aaron.Graeve Aaron.Graeve is offline
Registered User
FRC #1477 (Texas Torque)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: College Station, Texas
Posts: 103
Aaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to all
Re: Processing Vision Code on Laptop

Take a look at the White Paper that FIRST released this season. I believe it is on First Forge.... It gives step by step instructions on how to the the vision processing.

http://firstforge.wpi.edu/sf/go/doc1302?nav=1
Reply With Quote
  #4   Spotlight this post!  
Unread 26-01-2012, 10:46
SuperS_5's Avatar
SuperS_5 SuperS_5 is offline
[Certified LabVIEW Developer]
FRC #1219
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Canada
Posts: 140
SuperS_5 will become famous soon enoughSuperS_5 will become famous soon enough
Re: Processing Vision Code on Laptop

Quote:
Originally Posted by Greg McKaskle View Post
Or you can strap a laptop to the robot. ...uses a cable.
Greg McKaskle
I don't know how the FRC rules will govern this, but it is still a great idea. A x86 based micro PC would be great for this. Low power consumption, low weight, and a lot of extra CPU resources. This would be good for the off-season for advanced autonomous features.
__________________
Mike B
Reply With Quote
  #5   Spotlight this post!  
Unread 26-01-2012, 12:36
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Processing Vision Code on Laptop

We were able to process the targets at about 12Hz using a 640x480 image on the cRIO. I'm more worried about motion blur than update rate at this point. Your mileage may vary.
Reply With Quote
  #6   Spotlight this post!  
Unread 26-01-2012, 13:16
SuperS_5's Avatar
SuperS_5 SuperS_5 is offline
[Certified LabVIEW Developer]
FRC #1219
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Canada
Posts: 140
SuperS_5 will become famous soon enoughSuperS_5 will become famous soon enough
Re: Processing Vision Code on Laptop

The cRIO has quite a bit of capability. The program has to be fairly efficient, and be wasteful, but overall fairly easy to accomplish quite a bit natively. I could imagine much more advanced and parallel algorithms being developed in the off-season.
__________________
Mike B
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:44.

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