Go to Post So Love your robot, and it will love you. - Not2B [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-06-2015, 10:03
Qbot2640's Avatar
Qbot2640 Qbot2640 is offline
Registered User
AKA: Terry McHugh
FRC #2640 (Hotbotz)
Team Role: Mentor
 
Join Date: Sep 2012
Rookie Year: 2012
Location: Reidsville, NC
Posts: 473
Qbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond repute
Operating two Robots Simultaneously

I need help...we've done this many times before, but for some reason we can't get it to work now. We'd like to run our previous two robots at the same time for demonstration purposes. In the past we've taken one of the two and reprogrammed the bridge and driver station to a different team number (we usually pick 9999). When we try that now the robot does not respond.

To run both, we've begun to run RR with an Ethernet cable, and AA wirelessly.

Ideally, we'd like to run the last three robots simultaneously - but we currently have only two driver stations set up.

RR is (of course) a RoboRIO bot, with the newest version of Labview and the newest Driver Station. AA and UA are both CRIO bots, but we have the 2014 driver station software in a separate folder on our main driver station laptop. We usually just try to use any of the other Labview-installed laptops to run RR, since they all have the latest driver station software.

Please help - We have a demo scheduled for July 3 where I'd really like to have 2 or even 3 robots running together.
__________________

2012 Palmetto Regional Winners (Thanks 2059, 2815, and 287).
2012 Newton 14th Seed
2013 Chesapeake Regional Imagery Award Winners
2014 North Carolina Regional Imagery Award Winners
2014 Greater DC Regional Team Spirit Award Winners
2015 North Carolina Regional Finalists (Thanks 3971 and 587)
  #2   Spotlight this post!  
Unread 08-06-2015, 10:33
FlamingSpork FlamingSpork is offline
Eating Utensil
FRC #3003 (Tan[X])
Team Role: Programmer
 
Join Date: Nov 2014
Rookie Year: 2015
Location: Canandaigua, NY
Posts: 64
FlamingSpork is just really niceFlamingSpork is just really niceFlamingSpork is just really niceFlamingSpork is just really niceFlamingSpork is just really nice
Re: Operating two Robots Simultaneously

When we attempt to do such a thing, we use two separate laptops.

I think that having the Driver Stations for two different years on the same computer may cause some conflicts, so we have multiple laptops with different years and one laptop with a dual-boot.

The 2013 robot might require the 2013 Driver Station, and might not be compatible with 2014.
__________________

Windows NT 4.0, 98, XP, 7, 8, 8.1, and 10
Fedora Core 10
Ubuntu 12.04 LTS

C++, Bash, TI-Basic, and Javascript
  #3   Spotlight this post!  
Unread 08-06-2015, 11:13
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,810
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: Operating two Robots Simultaneously

One of the easiest ways to run multiple robots simultaneously, all with the same team number, is to set them all up for solitary wireless operation as would be normal. Then just give each robot's DLink a different unique SSID, and connect each laptop wirelessly to the appropriate paired Robot/Dlink.

Turn off the laptop connecting automatically to DLinks with your team number.
That puts everyone on separate networks, and fully separated networks can have common IP's just like your neighbor's home network probably uses the same IP settings that your house does.

DLink's won't talk to laptops unless they have been connected, and there is no conflict with duplicate robot numbers unless they are on the same network.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 08-06-2015 at 11:20.
  #4   Spotlight this post!  
Unread 08-06-2015, 12:50
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,752
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: Operating two Robots Simultaneously

We do this quite a lot, and there are in fact many ways to carry it out.

Can you describe what is going wrong? What your network topology is, etc.?

Greg McKaskle
  #5   Spotlight this post!  
Unread 08-06-2015, 14:50
Qbot2640's Avatar
Qbot2640 Qbot2640 is offline
Registered User
AKA: Terry McHugh
FRC #2640 (Hotbotz)
Team Role: Mentor
 
Join Date: Sep 2012
Rookie Year: 2012
Location: Reidsville, NC
Posts: 473
Qbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond repute
Re: Operating two Robots Simultaneously

Quote:
Originally Posted by Greg McKaskle View Post
We do this quite a lot, and there are in fact many ways to carry it out.
We have done it quite a lot too...but lately it has not worked.

Quote:
Originally Posted by Greg McKaskle View Post
Can you describe what is going wrong? What your network topology is, etc.?

Greg McKaskle

Yes, whenever we set up a radio and driver station with a different team number, the laptop will find the radio, but we continue to get a "no robot code" message

Not sure what "network topology" means or is... I have re-programmed the dlink successfully with a different team number, then changed the team number on the driver station options, but it will not connect to the robot...only when I have the actual team number does it work.


To the other responses - FlamingSpork: we do use two different laptops. One has both the new and the old versions, and the rest only have the new. I seriously doubt that the presence of both driver station programs is causing a conflict, because I can operate either the new or the old robot with the same driver station IF that robot is set up with our correct team number, and I can not operate a robot that is set up with a different team number on any laptop. Mark McLeod: Thanks for the response, but I'm a mechanical guy - I don't understand a thing you are saying. If you can dumb down your recommendation to my level it will probably work, since it does not involve changing the team number (which seems to be causing our problem).
__________________

2012 Palmetto Regional Winners (Thanks 2059, 2815, and 287).
2012 Newton 14th Seed
2013 Chesapeake Regional Imagery Award Winners
2014 North Carolina Regional Imagery Award Winners
2014 Greater DC Regional Team Spirit Award Winners
2015 North Carolina Regional Finalists (Thanks 3971 and 587)
  #6   Spotlight this post!  
Unread 08-06-2015, 16:08
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: Operating two Robots Simultaneously

Quote:
Originally Posted by Qbot2640 View Post
Not sure what "network topology" means or is... I have re-programmed the dlink successfully with a different team number, then changed the team number on the driver station options, but it will not connect to the robot...only when I have the actual team number does it work.
If you're going to do it by changing the team number, you must change the number on the [robo/c]RIO as well. But that's not the easiest or most reasonable way to do it. It's best to keep the team number consistent. The only thing you need to do is to make sure the SSIDs on the D-Links are different. That way you can connect the appropriate Driver Station computer to each robot. With the two robots' networks thus separated, there is no interference.

We've always used a distinctive SSID on each robot's access point. It's easy to do. Just log into the D-Link's admin web page and change it to something that identifies that particular robot. Then you can connect your driver station computer to the wireless network corresponding to the robot you want to control.

Last edited by Alan Anderson : 08-06-2015 at 16:10.
  #7   Spotlight this post!  
Unread 08-06-2015, 17:37
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,929
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: Operating two Robots Simultaneously

The IP of the dlink really doesn't matter unless you need to connect to its web page. The address range of the DHCP is important if you are not running static IPs. For the RoboRio bot make sure the DHCP is turned on and set for the correct range. Just changing the IP of the dlink will not do this. The Week zero page of screensteps is a good read for the Crio. The IP of the driver station for the crios needs to be 10.te.am.xx where the te.am. matches the CRio.
__________________
If you don't know what you should hook up then you should read a data sheet
  #8   Spotlight this post!  
Unread 08-06-2015, 18:05
SenorZ's Avatar
SenorZ SenorZ is offline
Physics Teacher
AKA: Tom Zook
FRC #4276 (Surf City Vikings)
Team Role: Teacher
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Huntington Beach, California
Posts: 930
SenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond repute
Re: Operating two Robots Simultaneously

Hmmm. We've programmed our 2014 robot radio to be 4276b, and just connect to that wireless.
BUT we must go into the settings in the driver station software and set it to the '14 DS mode.
__________________
2013-present: FRC Team 4276, Surf City Vikings
2011-2012: FRC Team 3677, The Don Bots
  #9   Spotlight this post!  
Unread 08-06-2015, 18:38
Qbot2640's Avatar
Qbot2640 Qbot2640 is offline
Registered User
AKA: Terry McHugh
FRC #2640 (Hotbotz)
Team Role: Mentor
 
Join Date: Sep 2012
Rookie Year: 2012
Location: Reidsville, NC
Posts: 473
Qbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond repute
Re: Operating two Robots Simultaneously

Quote:
Originally Posted by Alan Anderson View Post
If you're going to do it by changing the team number, you must change the number on the [robo/c]RIO as well. But that's not the easiest or most reasonable way to do it. It's best to keep the team number consistent. The only thing you need to do is to make sure the SSIDs on the D-Links are different. That way you can connect the appropriate Driver Station computer to each robot. With the two robots' networks thus separated, there is no interference.
We have done this before, and I am fairly certain we did not do anything significant to the c-RIO. In 2014 we used our 2013 robot to practice defense, and after the 2012 season we used our 2011 robot in demos to load balls into 2012.

That being said - I would much rather do this without having to change the team number, and what you're recommending sounds easy.

Quote:
Originally Posted by Alan Anderson View Post
We've always used a distinctive SSID on each robot's access point. It's easy to do. Just log into the D-Link's admin web page and change it to something that identifies that particular robot. Then you can connect your driver station computer to the wireless network corresponding to the robot you want to control.
Once again...please don't judge, but I have no idea what an SSID is. It's sounding like you want me to pull up the configuration page on the D-Link, not make my change by using the FRC bridge configuration tool. I've never done that, are there instruction somewhere for what you recommend?

Quote:
Originally Posted by FrankJ View Post
The IP of the dlink really doesn't matter unless you need to connect to its web page. The address range of the DHCP is important if you are not running static IPs. For the RoboRio bot make sure the DHCP is turned on and set for the correct range. Just changing the IP of the dlink will not do this. The Week zero page of screensteps is a good read for the Crio. The IP of the driver station for the crios needs to be 10.te.am.xx where the te.am. matches the CRio.
I'll look at the link you recommend...does this have instructions that will get someone who hates, and is awful at network configuration stuff, through the process? Like with "SSID" I have no idea what "DHCP" is either...remember...I'm the mechanical guy trying to fill a gap left by the loss of our programming mentor.
__________________

2012 Palmetto Regional Winners (Thanks 2059, 2815, and 287).
2012 Newton 14th Seed
2013 Chesapeake Regional Imagery Award Winners
2014 North Carolina Regional Imagery Award Winners
2014 Greater DC Regional Team Spirit Award Winners
2015 North Carolina Regional Finalists (Thanks 3971 and 587)
  #10   Spotlight this post!  
Unread 08-06-2015, 19:54
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,796
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Operating two Robots Simultaneously

Quote:
Originally Posted by Qbot2640 View Post
Once again...please don't judge, but I have no idea what an SSID is. It's sounding like you want me to pull up the configuration page on the D-Link, not make my change by using the FRC bridge configuration tool. I've never done that, are there instruction somewhere for what you recommend?
SSID is what the network is seen as by other wireless devices that are looking for networks. Example, FRC1234 is an SSID that team 1234 would be using on the competition field while competing. Home router networks are often nicknamed "linksys" or "netgear" or something creative. Hotel wireless is often the name of the hotel. I know that 1197 has one of their robots (last summer's practice base) SSID'd as "Smooth Jazz" for some reason that I can't recall.

Now, how to change it I'm not entirely sure, but I think it is the D-Link's configuration page.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #11   Spotlight this post!  
Unread 08-06-2015, 21:19
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,086
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Operating two Robots Simultaneously


Here's the SSID setup for Netgear WPN824. I assume other routers have something similar in their config setup.


Attached Thumbnails
Click image for larger version

Name:	SSID Netgear WPN824v3.jpg
Views:	51
Size:	51.5 KB
ID:	19113  
  #12   Spotlight this post!  
Unread 09-06-2015, 11:53
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,810
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: Operating two Robots Simultaneously

First you can start by setting up your DLink using the FRC Bridge Utility if you aren't sure what state it was last left in.
It also gives you a known starting point at any time if you feel that something may have been messed up.

Changing the DLink SSID:
  1. Change your PC Ethernet IP address to 10.26.40.5 solely to be compatible with logging into the DLink. Remember the original settings so you can set it back later. (see addendum below if you've never done this before)
  2. Connect directly to the powered DLink via Ethernet cable
  3. Browse using Internet Explorer to 10.26.40.1 and you should see the DLink login page
  4. Default user is Admin/(leave password blank)
  5. Click on Wireless Settings on the DLink homepage from a short list on the left hand side (seen highlighted also in attached image).
  6. (Attached is a picture of the page you should have up now)
  7. Change the SSID line (highlighted) to something unique like the name of the robot.
  8. Click Save Settings at the bottom of the page.
  9. Disconnect DLink and repeat on the next robot's DLink using a different unique SSID name.
  10. Disconnect and reset your PC's network adaptor to normal.
Addendum on changing PC's IP address:
  1. Left-click on the PC's START button (lower left of the desktop)
  2. Use the search box there to type in Network
  3. Choose Network and Sharing Center from the resulting list of finds.
  4. Left-click on Change adaptor settings in the upper left sidebar.
  5. Right-click on Local Area Connection and choose Properties
  6. Double-click on the list entry Internet Protocol Version 4 (TCP/IPv4)
  7. Select Use the following IP address
  8. Enter 10.26.40.5
  9. Click in the netmask area and you will get a default netmask (just use that)
  10. Click OK at the bottom of the pop-up window
  11. Click OK at the bottom of the previous pop-up window
Attached Thumbnails
Click image for larger version

Name:	SSID.jpg
Views:	29
Size:	99.2 KB
ID:	19115  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 09-06-2015 at 12:46.
Closed Thread


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 23: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