![]() |
Robot comm in noisy public locations
Our team recently participated in a parade through an area that can best be described as very noisy from a 2.4GHz 802.11 basis. It’s a mix of commercial & residential, and there are many, many WiFi APs in the area. Over the course of ~1.25 miles and ~45 minutes, we probably passed within range of 50-75 different APs.
The intent was to have our 2013 FRC robot follow behind a pickup truck, with the drivers in the back of the truck driving the robot, shooting Frisbees, etc. What we experienced was what can best be described as a complete breakdown in controllability of the robot. The robot had to be kept w/in ~20 ft of the driver station to have any control at all, and even then it was not reliable. When we did have control, there was often considerable lag (2-3 sec) between control inputs and robot response. It almost seemed like the robot had a mind of its own, taking off in seeming random directions even when the drivers weren’t giving it any inputs. We ended up disabling it and physically pushing it through the streets – not very impressive from a recruiting standpoint. As soon as we got out of the densely populated area, everything returned to normal. Without getting into all of the details of our exact configuration, examining the DS logs, etc., can anyone give any suggestions as to configuration/settings that should be used (or avoided) in a situation such as this? Specifically:
|
Re: Robot comm in noisy public locations
In noisy environments, we have found the same thing. Robot will not stay connected at 2.4 & works well at 5.8. What we normally use is the older brown bridge (2010 Breakaway) with the computer & a DAP 1522 router. I have not noticed if rev A or B makes a difference. We also run encryption to keep stray people from trying to connect.
|
Re: Robot comm in noisy public locations
I am going to guess that the system is trying to connect to every access point it sees and that takes time, hence the lag.
|
I've seen the same kind of behaviour before.
In some cases the following has helped: Setup a separate router that acts as AP. Make it a 5 GHz only network, hidden SSID, WPA2 Personal encryption with both TKIP/AES, 802.11n only. If this router has multiple external antennae, even better. Don't skimp out on this router, and make sure it supports 5GHz, because many don't. Most importantly, patch the driver station into this separate router with a wired connection, and disable the wireless on the driver station computer. Make sure the radio on the robot is switched over to bridge mode, and that you are getting good and consistent Ping times. When we do important demos, the separate AP is the setup we like to use. When possible, we avoid switching the robot radio over to AP. |
Re: Robot comm in noisy public locations
Could you post an image of the DS log for the event. Or if you want, PM me and I'll provide email info. I'd like to see the log, and review it with you.
Greg McKaskle |
Re: Robot comm in noisy public locations
We've had this happen at nearly every crowded event we've ever done, even just with lots of cell phones, and few traditional wifi access points.
|
Re: Robot comm in noisy public locations
We had this issue last year with our first pitch, this year we got a directional dual band Wi-Fi adapter from amped (I'll check the model number later and add it). This about doubled it our 2.4 range in trafficless areas, and with the 5 Ghz, we were able to do the pitch without any issues. Keep in mind that this was in a stadium with 40,000 people each with a cell phone, in the middle of downtown Detroit, with just our laptop adapter, we didn't even have a frc field's length of range.
|
Re: Robot comm in noisy public locations
1 Attachment(s)
Here's a screenshot of the DS log for the first ~15 min of the parade.Attachment 15149
|
Re: Robot comm in noisy public locations
Quote:
|
Re: Robot comm in noisy public locations
The most telling metric is that in the 3000 second log, your robot was system-watchdog disabled 2750 times. If at all possible, I'd switch to 5Ghz, and/or look into using a different router. The charts tab will give you a pretty good indiation of when you should just cable it.
For the NIWeek demo, team 2468 just left it tethered. 4000 nerds in the audience at a convention center is not a good time to give 2.4 wifi a try. They accidentally estopped their robot when waking up the screen saver, but recovered, scored, and then shot a water bottle of of the head of a VP. Way cool. Greg McKaskle |
Re: Robot comm in noisy public locations
It would have been way cooler if they did it with Odd Jobs hat rather than a Frisbee....:)
|
Re: Robot comm in noisy public locations
Ditto for the game. Lethal hats make robots cooler.
Greg McKaskle |
Re: Robot comm in noisy public locations
That's what we need for the 2014: A James Bond game!!:]
|
Re: Robot comm in noisy public locations
Many thanks to Greg McKaskle from NI for looking into our log files and helping explain how to decipher what's in them and from Tom, Bryce, and Mr. Lim for suggestions re: WiFi. Their comments raised two branches of thoughts:
First, re: the log files: Is there any documentation that explains the errors/warnings/logging system in more details? The "FRC Driver Station Errors/Warnings" on ScreenStepslive.com is helpful, but incomplete. In particular, it would be helpful to understand how status checking/logging works from a high-level point of view. Does everything come from the DS, or can the cRIO or DLink log events? Which components can log which events? Which components check on which other components? Where (DS, cRIO) does the Watchdog Expiration come from and what does it mean? How is it possible to have a Watchdog Expiration when you haven't had a 44004 "DS has lost comm with the robot" or any other warning/error? Second, re: WiFi configuration: Setting up, configuring, and debugging WiFi deployments is part of my day job, though I am by no means an expert – if I had been on my game, we wouldn’t have had the problems we did during the parade. That said, I’ll take what the guys above have suggested and add my own thoughts at a first stab at a concise list of best practices for “mission critical” demonstrations:
Lastly, YMMV!!! Some of the above are my opinions/hunches based on non-FIRST experience, and my team will be testing them out at some point in the future. Don't take any of it as gospel - try it out on your own and report back the results. If something doesn't work or makes things worse, narrow it down to the specific thing that's causing the problem. |
Re: Robot comm in noisy public locations
The reason why I prefer N-only is to avoid any down-training of speeds if a G or B only device somehow gets on to the network.
This is a known limitation with a lot of wireless networks such as: https://discussions.apple.com/thread...art=0&tstart=0 It's safer just to reject all non-N clients than to try and down-train the entire network to support the slowest client. On some routers it's also possible to set the bandwidth to only 20MHz instead of 40Mhz. 20MHz is probably a good call in your best practices outline to prevent it from eating up too much of the airwaves. Lastly, we've been using the old Linksys WRT610N that used to come in the FRC kits many years ago. These have proven to be pretty excellent routers specifically for this purpose, although I am sure there are much better, more modern alternatives now. |
| All times are GMT -5. The time now is 16:39. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi