Go to Post Oh, you know us...kicking puppies and stealing candy from babies and all. :rolleyes: - Travis Hoffman [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 05-11-2014, 15:50
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Robots sharing information

Quote:
Originally Posted by techhelpbb View Post
Any team with a camera and a light source right now could strobe that light source and read that with the camera off the retro-reflective tape allowing the robots to communicate. FIRST already approves the cameras and the light sources. So really what can they do about this in the absence of a new rule?
First, I don't see how using retroreflective tape would do anything special to allow communication. You could blink your light at the tape and see that you did it, but other robots wouldn't notice anything. They'd have to be looking at your light directly.

Second, the existing rules already disallow active robot-to-robot communication:

Quote:
Originally Posted by <R55>
One (1) D-Link Wireless Bridge (P/N: DAP-1522), hardware revision B, is the only permitted device for communicating to and from the ROBOT during the MATCH.
They also prohibit any signalling between operator consoles:

Quote:
Originally Posted by <R95>
Other than the system provided by the ARENA, no other form of wireless communications shall be used to communicate to, from, or within the OPERATOR CONSOLE.
However, <R95> was judged not to apply to waving at cameras, so the blinking light option might still be viable there.
Reply With Quote
  #2   Spotlight this post!  
Unread 05-11-2014, 15:57
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,623
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Robots sharing information

Quote:
Originally Posted by Alan Anderson View Post
First, I don't see how using retroreflective tape would do anything special to allow communication. You could blink your light at the tape and see that you did it, but other robots wouldn't notice anything. They'd have to be looking at your light directly.
Line of sight or reflected line of sight.
It's just a bank shot and the focus of the goals is usually where the tape is.
Cooperative targeting.

Even without the retro-reflective tape a laser spot in a predictable spot could send a signal other robots, drivers or driver's stations could collect (speaking practically - not saying the rules allow that).

Quote:
Second, the existing rules already disallow active robot-to-robot communication:
You mean other than pushing each other out of the way, assisting a partner via contact or tossing a game element cooperatively?
FIRST has a lot of full contact robot to robot communications going on every match.
We have sensors that could detect objects on the field that the robot might interact with and with that information one could determine the proximity of other robots which would communicate position information between robots.
There is no rule I see that says that we can't build a sensor package that locates other robots or react to that information.

If this rule applies then this is a poorly enforced rule.

Also between the robot and the driver's station there's the FIRST supplied RSL light.
That's a visual indicator that can instruct the driver's to change the state of their driver's station.
There have also been several visual examples over the years of teams visually signaling their operators from the robot both to the field (in the form of a spot light) and indicators.

So this is also questionably enforced.

Quote:
They also prohibit any signalling between operator consoles:

However, <R95> was judged not to apply to waving at cameras, so the blinking light option might still be viable there.
I will look up later where the official Q/A question I asked previously is.
Basically I wanted to put lights in the driver's station window that the robot could visually lock onto to locate itself on the field. It was effectively one time passive communication and these lights could have been seen by all the robots on the field looking at that end.

Obviously visual targets like this are plentiful on the game fields but I liked the idea of simply controlling the target ourselves. This ends up being communication between control systems if 2 or more teams choose to use it. The robots will react and the information to control the robots will come from each driver's station indirectly.

Quote:
Originally Posted by cgmv123 View Post
T22Ei says any special equipment can't connect or attach to the OPERATOR CONSOLE(s). The laptop is part of the operator console, but I'd have a hard time believing cabling that links multiple consoles is.
Perhaps but there have been several boards floating around that could be connected to the driver's station.
Though I have never actually done this so maybe there is a rule against it somewhere?


If someone is really serious about using this they really should propose it and ask in the official Q/A.
By the time that can happen the game will be set, the rules will be there and the consequences will be more clear.

Last edited by techhelpbb : 05-11-2014 at 18:51.
Reply With Quote
  #3   Spotlight this post!  
Unread 05-11-2014, 16:20
FrankJ's Avatar
FrankJ FrankJ is online now
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,934
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: Robots sharing information

The rules say the FMS ethernet cord most connect directly to the driver station computer. (IE not via a team supplied switch) The robot enable commands most originate from the approved driver station software. Other than that, what you can physically attach to the driver station is pretty open as long as it doesn't violate other robot rules. The cypress board is an example of a board connecting to the driver station.
__________________
If you don't know what you should hook up then you should read a data sheet

Last edited by FrankJ : 05-11-2014 at 16:22.
Reply With Quote
  #4   Spotlight this post!  
Unread 05-11-2014, 16:29
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,623
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Robots sharing information

Quote:
Originally Posted by FrankJ View Post
The rules say the FMS ethernet cord most connect directly to the driver station computer. (IE not via a team supplied switch) The robot enable commands most originate from the approved driver station software. Other than that, what you can physically attach to the driver station is pretty open as long as it doesn't violate other robot rules. The cypress board is an example of a board connecting to the driver station.
So then I guess the question is why can't one Cypress board blink an LED and the other monitor that LED through the barrier with a photo-transistor? Again FIRST could cry foul over this but why? It leads to cooperation? If it is a safety concern I would like to understand that concern. Right now teams can easily communicate themselves within hearing distance of those driver's stations. We can't really stop them from verbalizing to each other.

Am trying to figure out when this question about using lights in the driver's station was answered by FIRST.
Anybody have the 2011 Q&A? The link in the archive seems to be broken.
I have e-mails from 2011 and 2012 pondering this so somewhere in that range.

Last edited by techhelpbb : 05-11-2014 at 20:51.
Reply With Quote
  #5   Spotlight this post!  
Unread 05-11-2014, 20:57
dave1027 dave1027 is offline
Registered User
FRC #1027
 
Join Date: Feb 2007
Location: West Springfield, MA
Posts: 14
dave1027 will become famous soon enough
Re: Robots sharing information

A side from the vague reference to rules that disallow robot to robot communication, does anyone know the actual rule that does not allow this? I am pretty good with rules and regs and do not remember it specifically being against the rules. Infact in the spirit of co-opertition I would think this would be encouraged.

I am proposing an open hardware/software solution for a standardized protocol for sharing information between robots,

While light based applications could technically function the bad part is that they require line of sight to work, the nice thing about the field based network is that it already exists and would require very little effort to make it work.
Reply With Quote
  #6   Spotlight this post!  
Unread 05-11-2014, 21:18
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,623
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Robots sharing information

Quote:
Originally Posted by dave1027 View Post
While light based applications could technically function the bad part is that they require line of sight to work, the nice thing about the field based network is that it already exists and would require very little effort to make it work.
Personally I am of the opinion that the field network is already stressed to the max by multiple teams using TCP based real time video back to the driver's stations.

These TCP flows can be so large that the video actually starves the UDP FMS packets to the robots and can often end up with your robot disabled and your control performance compromised. These show as missing packets on the field display and in the driver's station DS logs. FIRST made a serious investment in load balancing for the fields to keep this problem bottled up.

I would be concerned that opening the door to bi-directional inter-team communication on a network that can be so heavily saturated could lead to headaches where one team could inadvertently swamp their own alliance.

In this regard reducing that protection might not improve things for your alliance.

The other solutions (though line of sight) at least move this extra load off the field making the proof of concept a little less likely to result in unpleasant surprises. So in this regard I think the amount of effort for FIRST to actually QA this on their field network is way bigger than anyone realizes.

This also, in my mind, falls back into the idea that such communications should be simple and short lived.
The alternatives to the field are slower and will encourage brevity and simplicity.
Why send full video to your alliance peers when you can send messages like 'ready to shoot'?
TCP/IP is too often used like a hammer and every communications problem becomes a vastly more complicated nail.
(Ironic I wrote this because I have been writing Ruby HTTP functions all day that can do Windows Authentication without using the existing work which tends to mask exceptions I need to see for security reasons. So I make this post and then get back to my POST / HTTP/1.1).

Last edited by techhelpbb : 05-11-2014 at 21:35.
Reply With Quote
  #7   Spotlight this post!  
Unread 06-11-2014, 10:44
Doug Frisk's Avatar
Doug Frisk Doug Frisk is offline
Keeping Score
AKA: Doug Frisk
no team
 
Join Date: Mar 2014
Rookie Year: 2011
Location: Behind the FMS
Posts: 352
Doug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond repute
Re: Robots sharing information

Quote:
Originally Posted by techhelpbb View Post
Personally I am of the opinion that the field network is already stressed to the max by multiple teams using TCP based real time video back to the driver's stations.
I worked as scorekeeper last year which meant that I was watching the bandwidth during matches. Last year, the stated limit was 7 megabits/sec. Very few teams reached that but there were several who went over 8 and one or two teams I saw that could suck down 20 Mbits/sec.

All other things being equal, even with 6 teams each consuming 20 Mbits/sec that shouldn't saturate the WiFi network. That much traffic would barely register as a blip at the Cisco box that's managing the routing. In all cases when I brought up excessive network usage, simply asking the team to adjust their camera settings brought the usage down. Just because your camera can transmit at 1080p 60fps doesn't mean that your display can even manage to show you that.
Reply With Quote
  #8   Spotlight this post!  
Unread 06-11-2014, 10:58
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,623
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Robots sharing information

Quote:
Originally Posted by DareDad View Post
I worked as scorekeeper last year which meant that I was watching the bandwidth during matches. Last year, the stated limit was 7 megabits/sec. Very few teams reached that but there were several who went over 8 and one or two teams I saw that could suck down 20 Mbits/sec.

All other things being equal, even with 6 teams each consuming 20 Mbits/sec that shouldn't saturate the WiFi network. That much traffic would barely register as a blip at the Cisco box that's managing the routing. In all cases when I brought up excessive network usage, simply asking the team to adjust their camera settings brought the usage down. Just because your camera can transmit at 1080p 60fps doesn't mean that your display can even manage to show you that.
If adjusting their cameras to send less data is reducing the missing packet count the I propose team links are saturated.

The ideal bandwidth of a WiFi network does not apply in a situation where the robots are mobile (actually it doesn't usually apply in a situation where the radios are stationary either). The links actual bandwidth will change based on the ability of the radios to deliver the data.

The only way you can know for sure what the actual bandwidth to your radio is to try it and once you do with TCP you will hit the congestion control of the protocol which in many cases will magnify the saturation because the goal is reliable delivery not worrying about your link's issues. Now where are you going to try from and in what orientation to measure the bandwidth since the robots move around and are all constructed differently?

Order of falsehood: lies, statistics and datasheets.
Just because your Cisco/D-Link box says a bandwidth does not mean you have that bandwidth it's just a 'datasheet'.
It falls on the reader of the data sheet to understand the implications and criteria of that performance.

Also with respect to barely registering a blip. I own a police package Chevy Caprice LT1.
That car has a digital dashboard with three digits and a theoretical maximum display of 999MPH.
At 140MPH if the windows are open the car might catch air (there is a sticker on the dash board from GM).
At 180MPH you are playing with fire and I have been over 150MPH on a track with that car.
Just because the top of the scale is somewhere does not mean the scale represents realistic expectation.

This would be interesting:

Let's take some FIRST robots and drive them around using 2.4GHz like they are not on the field using on D-Link.
However these robots really will be on a field.
Let's put the another D-Link and DC/DC converter on 5GHz and drive these robots on the field.
Don't even worry about the FMS system.
Have a device on each of the 6 robots blast sequentially tagged UDP packets to the driver's stations over 5GHz.
Have a device on each of the 6 driver's stations blast sequentially tagged UDP packets to the robots over 5GHz.
Turn off the load balancing on the field and track to see how many of the packets you sent around you really got.
While all that is going on - drive the robots around.

Now there's no magic. No congestion control. Just raw bandwidth use as long as the devices are each capable of sending packets at a respectable rate and that can be easily tested by wiring them on a switch before hand.
So how many packets do you think will not survive this test?

Now change the packet payload in increments up the MTU for a few tests.
Graph the results and see how the network responds.

Let's make this even easier - start with an application like iperf on Linux (because it can pthread).
It could be a little more custom for this application but it already produces the sequence and the data.
Can probably graph the results with jperf or some VBA.

Last edited by techhelpbb : 06-11-2014 at 22:18.
Reply With Quote
  #9   Spotlight this post!  
Unread 06-11-2014, 12:00
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Robots sharing information

Quote:
Originally Posted by techhelpbb View Post
If adjusting their cameras to send less data is reducing the missing packet count the I propose team links are saturated.
During the past two years, the "saturation" issues I have seen have never been shown to be due to WiFi bandwidth limitations. In every case where I watched a dropped-packet problem being fixed by reducing camera frame rate and/or pixel count, it was because the computer running the Driver Station program was unable to keep up with the incoming packets. The packets themselves were obviously being delivered just fine by the network.

In my experience, the CPU usage of the Driver Station computer is more important to the performance of the robot than the bandwidth usage of the WiFi network.
Reply With Quote
  #10   Spotlight this post!  
Unread 06-11-2014, 12:10
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,623
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Robots sharing information

Quote:
Originally Posted by Alan Anderson View Post
During the past two years, the "saturation" issues I have seen have never been shown to be due to WiFi bandwidth limitations. In every case where I watched a dropped-packet problem being fixed by reducing camera frame rate and/or pixel count, it was because the computer running the Driver Station program was unable to keep up with the incoming packets. The packets themselves were obviously being delivered just fine by the network.

In my experience, the CPU usage of the Driver Station computer is more important to the performance of the robot than the bandwidth usage of the WiFi network.
I have seen Intel Core I7 laptops have this problem.
In my ISP days such readily available CPU would be considered crazy powerful.
I've had whole ATM backbones running with proper interfaces saturating DS3 with less CPU.

I've had the Windows performance counters on these laptops open before and not seen such an indication but via WMI all of that data can be logged into the DS log viewer if one wants. There are plenty of PowerShell examples around for this and via .NET there are plenty of MSDN examples. I do stuff like that all the time on enterprise networks.

Also if this was the case why do these teams often not experience this issue when tethered or in their private networks?

Then there's the before and after Einstein to consider. Before you could pump data as hard as you pretty much liked till something refused. Now the load balancing will cap you before you can do that and potentially steal opportunity from other teams to use the network. So in theory if teams could use a combined 20Mb/s before over the field why are these laptops so pegged now that they are capped at less?

I think these might be relevant:
DAP-1522 performance test from IEEE
CISCO 1250 performance test from TI

Last edited by techhelpbb : 07-11-2014 at 10:54.
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 10:12.

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