|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#16
|
||||
|
||||
|
Re: Robots sharing information
Quote:
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:
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:
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:
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. |
|
#17
|
||||
|
||||
|
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.
Last edited by FrankJ : 05-11-2014 at 16:22. |
|
#18
|
||||
|
||||
|
Re: Robots sharing information
Quote:
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. |
|
#19
|
|||
|
|||
|
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. |
|
#20
|
||||
|
||||
|
Re: Robots sharing information
Quote:
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. |
|
#21
|
||||
|
||||
|
Re: Robots sharing information
Quote:
|
|
#22
|
||||
|
||||
|
Re: Robots sharing information
Been thinking about this some more...
When it comes to the idea of sharing video between teams which is less complicated? 1. Sharing or worse duplicating the video over the network to the other teams. 2. Offering them to look at your display of that video? Obviously 2 is far less complicated! If FIRST really wanted to allow this all they would have to do is allow teams to put an extra monitor on their driver's station which the other alliance members could see. Or they could let users transfer their images to Android devices as mass storage over USB from their driver's station and simply run a slideshow against that storage to the display in the same manner. Put that up against the barrier and the team immediately next to you can see your video with no field network load. Just some additional COTS device and some cables. Also it occurs to me that when I helped propose an alternative to the cRIO we suggested that we send the FMS packets down a separate slower lower frequency radio link and let the teams use any other WiFi however they like. This would of allowed teams to share as they like as WiFi would be completely irrelevant to the FIRST field operations and it would dramatically remove the spectrum competition for the radio. Course it also would have made it the teams headache to deal with the consequences if it went terribly wrong or was interfered with. I am personally of the opinion that the field's use of WiFi in this manner is actually more annoying to the people that want to use WiFi and TCP/IP for things like video and sharing than if the field only sent the FMS packets on a lower frequency. It puts FIRST in the position of stifling innovation to protect the field operations for business reasons. It also also gives the students trying to use TCP/IP less opportunity to be exposed to the entire operational aspect because they simply can't control what the current fields impose on them. What the current field does now is not truly analogous to real time video over most of the Internet so that is not a salvageable counterposition. Last edited by techhelpbb : 06-11-2014 at 05:43. |
|
#23
|
|||
|
|||
|
Re: Robots sharing information
I attend a good number of FIRST events, and I have a few tools that I use to look at the wifi spectrum. I've attached a few screenshots from Michigan State Champs last year.
The first is a bit fuzzy, but shows that on the campus, there were lots of other access points. Venues differ ALOT, and some are wifi-crowded. The field doesn't show up because it doesn't broadcast its SSIDs. The second photo is the wifi usage on the channel(s) that the field was using. It is shown three ways. The lower one is total packets per second for each 100ms period. The middle one shows bytes transmitted per second. The top shows airtime being used, and is on top because this is the best indication of how much more you can transmit before you hit the ceiling. The stacked colored bands are the traffic caused by each robot, and the external stuff is gray. There is a white line plotted over the rest that is the retransmissions. To summarize what this says ... The robots in these matches were typically using 10% of the wifi spectrum. The spikes due to a radio momentarily shifting to slower speeds caused a momentary spike to 25%. If this had hit the ceiling and caused other radios to slow, it would have been a Xmas tree event. I logged the entire weekend and never saw a tree. Another factoid? There were 1217 unique MAC addresses that showed up on the 5GHz wifi channel on Saturday -- a few of those are even robots. But most of those devices are simply looking to see what wifi networks are available. They build the list and go dormant again. I have never been at an event where wifi was stressed to its limits. I have heard stories, and I believe it has happened. I do not believe it is common, and FIRST is diligent at using the wifi that is available to run the best matches possible. By the way, I have also seen matches where individual robots are sending 20Mbps HD video. The sky didn't fall. The team was asked to change camera settings. No big deal. The wouldn't be nearly as simple without usage guidelines. I'm not claiming that things can't be made better, but before we try to fix the problem, we need to measure quantitatively what is actually going on. As for the original topic. The field controls whether robots can communicate with each other over its AP. It cannot happen without the field specifically allowing it and coordinating it. Greg McKaskle |
|
#24
|
||||
|
||||
|
Re: Robots sharing information
Quote:
As CSA we are not usually asked to find this out. Perhaps the Robot Inspectors know? Quote:
Quote:
Quote:
For the purpose of sending the tiny amount of data FMS really needs the WiFi is just fine. Unfortunately with so many people sending video to driver's stations FMS is just plain drown out. Hence the increasing issues noticed the more people have sent video to the driver's station since FIRST started using WiFi. The result at the moment is usually an impact on just the team that needs to adjust their vision system and for that I am grateful because I do not believe it was previously the case before the load balance (call it a gut feeling - I can't go back in time - and now it does not change anything). In the end WiFi is way more bandwidth than is really needed for FMS. So even compromised quality WiFi would work out if it wasn't for the video demands being put in competition. Even more so if the programmers of the robots make their code keep the robot moving in the last instructed direction/speed/operation until new instructions arrive. Then unless enough FMS packets are missed to disable the robot the robots can still maintain control performance even if FMS is missing some packets here and there. I think that example of dropping 5,000 of 7,000 FMS packets for a team with such software is adequate (this is an example from RampRiot 2014 I presented in another topic). Last edited by techhelpbb : 06-11-2014 at 10:23. |
|
#25
|
|||
|
|||
|
Re: Robots sharing information
The thicker bands in the attached image used video to the DS, the thinner ones didn't use it or used very little. There were matches with lots of cameras.
Greg McKaskle |
|
#26
|
||||
|
||||
|
Re: Robots sharing information
Quote:
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. |
|
#27
|
||||
|
||||
|
Re: Robots sharing information
Quote:
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. |
|
#28
|
|||||
|
|||||
|
Re: Robots sharing information
Quote:
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. |
|
#29
|
||||
|
||||
|
Re: Robots sharing information
Quote:
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. |
|
#30
|
|||||
|
|||||
|
Re: Robots sharing information
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|