Go to Post Kit wheel? Someone probably has them. N-tooth IFI sprocket? You might get lucky. Part Made By A Local Company When You're Competing 800 Miles Away? Bring three. - Billfred [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 22-01-2012, 21:01
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
Re: Worried about cRIO CPU usage when using vision

Isn't there a way to off load the vision processing back onto the drivers station during a match?
  #2   Spotlight this post!  
Unread 22-01-2012, 21:16
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: Worried about cRIO CPU usage when using vision

Quote:
Originally Posted by Johnny_5 View Post
Isn't there a way to off load the vision processing back onto the drivers station during a match?
Yes, but at a cost of increased latency. Camera->D-Link->field AP->DS Computer->field AP->D-Link->cRIO with 2 wireless legs instead of camera->D-Link->cRIO with no wireless legs.

As with most engineering problems, there are tradeoffs to be evaluated when choosing between various options.
  #3   Spotlight this post!  
Unread 22-01-2012, 21:18
the man's Avatar
the man the man is offline
Registered User
AKA: Jacob Overla
FRC #4004
Team Role: Mechanical
 
Join Date: Jan 2009
Rookie Year: 2009
Location: muskegon MI
Posts: 344
the man is on a distinguished road
Re: Worried about cRIO CPU usage when using vision

Not completely sure but cant we have something else on the robot to co-process the image data received?
__________________
Every day is a new adventure!!!
  #4   Spotlight this post!  
Unread 23-01-2012, 07:50
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Worried about cRIO CPU usage when using vision

Quote:
Originally Posted by RufflesRidge View Post
Yes, but at a cost of increased latency. Camera->D-Link->field AP->DS Computer->field AP->D-Link->cRIO with 2 wireless legs instead of camera->D-Link->cRIO with no wireless legs.

As with most engineering problems, there are tradeoffs to be evaluated when choosing between various options.
This is true if you use the dashboard to handle the processing, but you can use any network attached computer running smart dashboard. If you have an extra 400 bucks and 2.5lbs you could put a laptop on the robot minimizing network latency.
__________________
"Never let your schooling interfere with your education" -Mark Twain
  #5   Spotlight this post!  
Unread 23-01-2012, 08:09
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: Worried about cRIO CPU usage when using vision

When discussing using laptops for vision, here are a few things to keep in mind.

The camera and cRIO are enet devices. They are already on a network with the dashboard. A laptop on the robot will be on the network too. The networks are different, but not as black and white as it may seem.

As discussed in other threads, you will gain yourself some additional CPU, but you will soon use that up too. Yesterday, I ran a team's dashboard that pegged my core 2 duo laptop with a 640x480 image stream. I could only process 20fps and they were sending 30. This resulted in seconds of lag.

Think about this as a budgeting exercise. Can you determine what is possible with the CPU resources in the cRIO? If you add more CPU, what will it be used for? What will it cost in $ and lbs?

There are certainly tasks that will benefit from adding a laptop, but it is not magic. It should really follow the same process as adding a motor or pneumatics.

Greg McKaskle
  #6   Spotlight this post!  
Unread 23-01-2012, 08:33
the man's Avatar
the man the man is offline
Registered User
AKA: Jacob Overla
FRC #4004
Team Role: Mechanical
 
Join Date: Jan 2009
Rookie Year: 2009
Location: muskegon MI
Posts: 344
the man is on a distinguished road
Re: Worried about cRIO CPU usage when using vision

What if the laptop was only used for processing the image to find out the distance of the target rectangle, but you did not stream any thing back to your driver-station?
__________________
Every day is a new adventure!!!
  #7   Spotlight this post!  
Unread 23-01-2012, 08:57
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Worried about cRIO CPU usage when using vision

Quote:
Originally Posted by the man View Post
What if the laptop was only used for processing the image to find out the distance of the target rectangle, but you did not stream any thing back to your driver-station?
The rectangle detection algorithms are the expensive process. I would advise trying to think of ways to locate the target that wouldn't require opencv.

For example I am looking at the rectangle as two parallel lines. The distance to the hoop can be determined based on the lines and your robots heading. In my case I'm using the kinect but that's more to limit the amount of field calibration that needs to be done.
__________________
"Never let your schooling interfere with your education" -Mark Twain
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 23:36.

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