Go to Post I'd like to thank FIRST for giving me this wonderful opportunity. I've learned so much! - Leav [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-06-2014, 14:43
Anthony4004's Avatar
Anthony4004 Anthony4004 is offline
Anthony4004
FRC #4004 (MARS Rovers)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Muskegon
Posts: 171
Anthony4004 is an unknown quantity at this point
Using multiple robots at once HELP

Hello CD!

Team 4004 is looking into being able to have all of our robots be able to run at the same time for demos, driver training, and so on. Naturally we did find that we can do this by re imaging the CRIo with a new team number so that the bridges to not conflict, but we were wondering if anyone new of a better way to accomplish this task?

Thank you in advance!

Team 4004: MARS Rovers
Reply With Quote
  #2   Spotlight this post!  
Unread 18-06-2014, 14:53
BigJ BigJ is offline
Registered User
AKA: Josh P.
FRC #1675 (Ultimate Protection Squad)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Milwaukee, WI
Posts: 945
BigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond repute
Re: Using multiple robots at once HELP

With the way the current control system works, the IP convention of 10.te.am.x means that the "correct", best supported, and most easily troubleshooted way to do it is to image each cRIO and router with a different team number and configure the driver station/IDE to that team number.
Reply With Quote
  #3   Spotlight this post!  
Unread 18-06-2014, 14:56
ToddF's Avatar
ToddF ToddF is offline
mechanical engineer
AKA: Todd Ferrante
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Apr 2011
Rookie Year: 2011
Location: Newport News, VA
Posts: 597
ToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond repute
Re: Using multiple robots at once HELP

We are also interested in people's experience with this. We tried this solution at a demo a few weeks ago where we wanted to play 2 on 2 matches on our practice field. We found that 2 robots running simultaneously was the maximum before all the robots started getting huge amounts of control lag. Switching off the extra robots fixed the problem. But, that's not a useful solution.
__________________
Todd F.
mentor, FIRST team 2363, Triple Helix
Photo gallery
video channel
Triple Helix mobile
Reply With Quote
  #4   Spotlight this post!  
Unread 18-06-2014, 15:06
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,757
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Using multiple robots at once HELP

Technically of course there's no need to reimage cRIO's so that the robots use different team numbers.
It's a matter of keeping the networks separate and distinct.

It's all in the DLink settings and the Driver Stations connecting to them.
The DLinks each must have different different SSIDs so you can tell them apart (we usually name them for the robot), and you probably want Security on them enabled just to avoid any unintended automatic connections being made (especially between Driver Stations and DLinks). Use a browser to login to the DLink and look under the Wireless settings.
Don't allow any of the Driver Stations to automatically connect (unless they are exclusively used with that one particular robot).

Then manually connect each driver station to the DLink wireless of their choice through a Developer-type user account, then start the Driver Station app or login to a Driver-type account.

If it's a noisy wireless environment and you get too many packet collisions then you can force each DLink to avoid conflicts by using different sets of channels.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 18-06-2014 at 15:15.
Reply With Quote
  #5   Spotlight this post!  
Unread 18-06-2014, 15:22
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: Using multiple robots at once HELP

We've run two simultaneously before by just changing the SSIDs in the radios as suggested. We run the radios in AP mode, configure them using our team number, then log in and change the SSID manually.
__________________
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
  #6   Spotlight this post!  
Unread 18-06-2014, 15:39
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,908
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: Using multiple robots at once HELP

We routinely run 6 robots (different team numbers) thru one Dlink. So that by itself is not the issue. Possible issues could be multiple radios with the same SSID set to AP mode rather than bridge mode. There can be only one. Robots sending a lot data from cameras, etc. This is limited by the hardware on the First fields. A noisy environment. 5 gHz seems to be a cleaner than the 2.4 gHz band.

Other than that, use separate a SSID as Mark suggested.
Reply With Quote
  #7   Spotlight this post!  
Unread 18-06-2014, 16:12
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,513
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Using multiple robots at once HELP

Quote:
Originally Posted by Mark McLeod View Post
Technically of course there's no need to reimage cRIO's so that the robots use different team numbers.
It's a matter of keeping the networks separate and distinct.

It's all in the DLink settings and the Driver Stations connecting to them.
The DLinks each must have different different SSIDs so you can tell them apart (we usually name them for the robot), and you probably want Security on them enabled just to avoid any unintended automatic connections being made (especially between Driver Stations and DLinks). Use a browser to login to the DLink and look under the Wireless settings.
Don't allow any of the Driver Stations to automatically connect (unless they are exclusively used with that one particular robot).

Then manually connect each driver station to the DLink wireless of their choice through a Developer-type user account, then start the Driver Station app or login to a Driver-type account.

If it's a noisy wireless environment and you get too many packet collisions then you can force each DLink to avoid conflicts by using different sets of channels.
This is the method we use without a problem. We name our robot by year - 1718-2010, 1718-2011, etc.

You definitely want to enable security, otherwise large amounts of lag can be generated by people randomly connecting to the dlinks when they see open networks (from experience).
Reply With Quote
  #8   Spotlight this post!  
Unread 18-06-2014, 16:33
pribusin's Avatar
pribusin pribusin is offline
Uber Alien
AKA: Mike 1
FRC #4004 (M.A.R.S. Rovers)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Michigan
Posts: 168
pribusin has a spectacular aura aboutpribusin has a spectacular aura aboutpribusin has a spectacular aura about
Re: Using multiple robots at once HELP

Thanks for all the answers. I think we will try the unique SSID setting on the DLinks. That seems the easiest to implement and to keep straight. We'll assign the robot name to the robot's DLink and then link to only that one from it's particular DS.

My limited knowledge with WiFi tells me that we should probably set the DLinks to different channels too so that they do not interfere with one another, correct?
Reply With Quote
  #9   Spotlight this post!  
Unread 18-06-2014, 20:01
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,757
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Using multiple robots at once HELP

I'd first start with letting the DLinks find their own channels. They do their own search for unoccupied channels and they are generally better at it.
Then examine the DS logs for lost or delayed packets. The logs highlight problems very nicely. If you see much of anything, then try setting your own DLink channels.
Things to watch out for include other APs and non-robot network traffic in the area where you are running. Letting the DLinks search on their own may avoid some of this.

There are several alternative network topologies (Robot IP Network Variations ) you can consider using from running just one or two robots, multiple robots in large group demos, or for off-season events. Just keep in mind that what may work at home may not work for a demo at a local shopping mall, so be prepared with alternatives.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 19-06-2014 at 08:40.
Reply With Quote
  #10   Spotlight this post!  
Unread 18-06-2014, 20:12
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Using multiple robots at once HELP

The control system is especially susceptible to wireless channel congestion. What seems like a fine connection for loading web pages or even streaming videos may not be good for the robots (as they just disable themselves when they haven't heard from the DS computer in a while.)

If you are in your own facility, try disconnecting other Wifi access points and turning off wifi on unneeded devices. If you are in public, try to configure your radios to use less busy channels somewhere in the 5GHz band.
Reply With Quote
  #11   Spotlight this post!  
Unread 18-06-2014, 21:03
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: Using multiple robots at once HELP

We had a similar issue with lag when using a different router on our robot that we solved by setting the router to "hidden network mode", which made it so the router didn't broadcast its SSID, so you could only connect if you knew the name. I don't see how hiding the name caused other network traffic to not effect our robot, but it did. When we switched back, the problem continued.
Reply With Quote
  #12   Spotlight this post!  
Unread 18-06-2014, 21:25
ebarker's Avatar
ebarker ebarker is offline
Registered User
AKA: Ed Barker
FRC #1311 (Kell Robotics)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Kennesaw GA
Posts: 1,437
ebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond repute
Re: Using multiple robots at once HELP

We have a permanent configured router at IP 10.0.0.4

It is a dual band N router, broadcasting two unique SSID's. They are KELL2 and KELL5 for the 2.4 and 5GHz bands respectively.

All the robot bridges are configured to latch onto SSID KELL5 ( which solve a lot of problems in noisy environment when you are doing demos )

The robots are configured using the 10.xx.yy.zz scheme where xx.yy is the team number split, and the zz is the preassigned addresses, 1 for the bridge, 2 for the cRio, camera at 11, ds typically at 5

Our robots are

1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324

And it works perfectly great.

All the driver stations are hardwired into the router.

Development laptops connect to the router at 2.4 or 5 GHZ, doesn't matter. The only thing about this scheme is developers have to manually set an ip address on their pc in order to get on the right network ( but now that I think about that, it could be fixable. )
__________________
Ed Barker
Reply With Quote
  #13   Spotlight this post!  
Unread 18-06-2014, 21:45
dmaciel10123 dmaciel10123 is offline
The Everything Guy
AKA: David Maciel
FRC #3525 (The Nuts and Bolts of Fury)
Team Role: Alumni
 
Join Date: Feb 2013
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 100
dmaciel10123 is an unknown quantity at this point
Another thing is you can get a WiFi analyzer app for your phone that can scan WiFi channels and help you figure out what channel the bridges should all be on. At a pre-season scrimmage I found that 2 bridges on the same channel don't interfere but any more, and/or any networks on channels within plus or minus 2 channels can begin to cause interference.
__________________
Reply With Quote
  #14   Spotlight this post!  
Unread 22-06-2014, 20:48
Chris_Ely's Avatar
Chris_Ely Chris_Ely is online now
Registered User
AKA: luckof13
FRC #3414 (HackBots)
Team Role: College Student
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Farmington, Michigan
Posts: 365
Chris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond repute
Re: Using multiple robots at once HELP

One trick that I have found to reduce lag in WiFi heavy areas is to encrypt and hide the robot's network. Go into the DLink's settings and enable encryption and check the box that says "hide SSID" or something similar on the wireless settings page. This will hide the SSID from devices that might try to connect to it. To connect to the network, you will have to search for the SSID. See this tutorial for details on how to connect in Windows 7. I have used this method at the Detroit Maker Faire with multiple robots and other WiFi networks many times with success.
__________________
2013: Waterford Finalist, Livonia Winner, MSC Quarterfinalist, Curie Division
2012: Waterford, Northville, Livonia
2011: Waterford Finalist, Livonia
2010: Ann Arbor Rookie Inspiration Award, Troy

Mechanical Engineering Student,
Michigan Technological University
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 11:09.

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