Go to Post What makes a team great is not what they do during the 6 weeks, but what they do the rest of the year. - davidthefat [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 08-10-2012, 08:29
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,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: Image Processing

There are a couple well supported ways to get the images to the dashboard. The initial one was necessary because there was no switch on the robot. This meant that the cRIO asked the camera for the images on one enet port, and then duplicated the jpeg out the other port to the dashboard.

For a few years now, the bridge has included a switch. This means that the dashboard and camera can directly communicate. This is usually done by having the dashboard request an mjpg stream from the camera. The camera can serve up to five clients, so it is actually possible to have images go to the cRIO and dashboard independently.

To get processed results back to the robot from the dashboard is not quite as automatic. One option is to use the Network Tables -- the underlying publish-and-subscribe protocol that SmartDashboard uses. This was relatively new last year, but is being enhanced and is what I'd recommend. It is also possible to do your own lower level protocol over TCP or UDP. Network tables operates over TCP by the way.

As for the speed of the connection, the robots use N-speed wifi, a high speed communication option. It will typically take just a few milliseconds for the information to be sent, and in most measurements we've seen, the robots are using less than 25% of the bandwidth available.

Greg McKaskle
Reply With Quote
 


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 19:49.

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