Go to Post What really matters is what you got out of the FIRST season, and how you can use it to build on what you know. - Adam Richards [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 22-01-2016, 21:33
E, Palmer E, Palmer is offline
Registered User
FRC #5830 (The Irrational Engineers)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2009
Location: Maryland
Posts: 15
E, Palmer will become famous soon enoughE, Palmer will become famous soon enough
Bandwidth Workaround?

Ive read R60 and 7 mbits/second is really low. Is there any way that i could work around that for my teams camera. I was thinking i run a co-processor that sends the video to a localhost/webserver(hosted by the co-processor). Then have my DS Computer run a separate program outside of DS to view camera. My thought is that running it outside of the DS my bandwidth wont be monitored/throttled. Are there any other ideas? Is my idea Illegal?
Reply With Quote
  #2   Spotlight this post!  
Unread 22-01-2016, 22:02
dellagd's Avatar
dellagd dellagd is offline
Look for me on the field!
AKA: Griffin D
FRC #2590 (Nemesis) #2607 (The Fighting Robovikings)
Team Role: Mentor
 
Join Date: Sep 2011
Rookie Year: 2011
Location: PA
Posts: 889
dellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond repute
Re: Bandwidth Workaround?

Quote:
Originally Posted by E, Palmer View Post
Ive read R60 and 7 mbits/second is really low. Is there any way that i could work around that for my teams camera. I was thinking i run a co-processor that sends the video to a localhost/webserver(hosted by the co-processor). Then have my DS Computer run a separate program outside of DS to view camera. My thought is that running it outside of the DS my bandwidth wont be monitored/throttled. Are there any other ideas? Is my idea Illegal?
The FMS makes no distinctions between the types of traffic being sent between the the DS and the robot. All data transferred, including basic robot signaling, are included the the 7mbit limit.

Some parts of R60 to note:

Quote:
A. Network Ports:
viii. UDP/TCP 5800-5810: Team Use, bi-directional
The rules specifically allocate a range of ports for teams to use in any way they wish. These ports will be open to any kind of TCP/UDP traffic you can ask the DS and the robot to engage in. For example, a web server running on the roboRIO separate of the other robot code and a custom viewer program running on the DS could communicate over these ports. Any and all traffic fall under the limit. You can't 'get around it'.

Quote:
While FIRST makes every effort to provide a wireless environment
that allows teams access to a full 7Mbits/second data rate (with about
100Kbit used for ROBOT control and status), at some events wireless
conditions may not accommodate this.
We have experienced this personally. When using 4.5Mits/sec for a relatively high resolution camera feed, we were instructed by the FTA to decrease our bandwidth usage, as ours was "much higher than other teams". So to be safe it might be wise to plan to use less than the 7 alloted. That being said, we have never had any trouble doing vision processing on the DS and meeting this limit, so I would imagine you could figure out a way as well.
__________________
Check out some cool personal projects in computers, electronics, and RC vehicles on my blog!

2016 MAR DCMP Engineering Excellence Award
2016 MAR Westtown Innovation in Control Award
2016 MAR Hatboro-Horsham Industrial Design Award
2015 Upper Darby District Winners - Thanks 225 and 4460!
2015 Upper Darby District Industrial Design Award
2015 Hatboro-Horsham District Winners - Thanks 2590 and 5407!
2014 Virginia Regional Winners - Thanks so much 384 and 1610, I will never forget that experience!
2014 Virginia Quality Award
2014 MAR Bridgewater-Raritan Innovation in Control Award
2014 MAR Hatboro-Horsham Gracious Professionalism Award
2013 MAR Bridgewater-Raritan Innovation in Control Award
2012 MAR Lenape Quality Award
Reply With Quote
  #3   Spotlight this post!  
Unread 22-01-2016, 22:12
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Bandwidth Workaround?

One thing to remember is your 7mb limit applies to your robot control packets, not just your camera and custom data.

What you're describing make sense. One thing I will not is it's possible to configure the driver station to read from your new webserver. The labview one might be easier to modify for this but it should be possible on C++ & Java as well. You just need to replicate the application layer interface.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
Reply With Quote
  #4   Spotlight this post!  
Unread 22-01-2016, 23:35
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,544
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: Bandwidth Workaround?

What do you want to stream that exceeds 7mbps?
Reply With Quote
  #5   Spotlight this post!  
Unread 22-01-2016, 23:53
Bryan Herbst's Avatar
Bryan Herbst Bryan Herbst is offline
Registered User
AKA: Bryan
FRC #2052 (KnightKrawler)
Team Role: Mentor
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Minneapolis, Minnesota
Posts: 544
Bryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond repute
Re: Bandwidth Workaround?

Quote:
Originally Posted by E, Palmer View Post
Ive read R60 and 7 mbits/second is really low
What are you basing this statement on?

Yes, this is low compared to the bitrate of a 1080p movie stream.

However, for most team's use cases (displaying a very small live feed in a small box on an average resolution laptop), this is more than adequate. You likely don't need high resolution, and you also don't likely need a high frame rate.

Try your camera settings on a fairly low quality setting. If you find this isn't sufficient, start bumping it up. Monitor your bandwidth. If you find you hit the limit and you don't have high enough quality, then it might be time to start a discussion about what you are trying to achieve.
__________________
Team 2052- Knightkrawler
Mentor and volunteer
Reply With Quote
  #6   Spotlight this post!  
Unread 23-01-2016, 09:36
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: Bandwidth Workaround?

Much of this has already been said, but let me summarize.

The limits are monitored by multiple elements, sometimes just to tell you what you are using. Other times to let the FTA know if something is not right with the field.

The new radio will be imposing the limit, not just monitoring it.

The spirit of the rules, and the FTAs, robot inspectors, CSAs, etc is to apply the rules in a consistent manner so that everyone has a good experience.

I'd encourage you to be clever about how you operate within the rules rather than being clever about how you can break the rules.

Finally, please experiment with the camera settings, using either the dashboard or Windows feedback to see just how easy it is to fit within 7Mbps. There are many choices for how you use it, and that is a great thing to experiment with.

Greg McKaskle
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 21:55.

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