Go to Post Teams rarely win FIRST events because they can complete actions that nobody else can; they win because they do things faster than others. - Madison [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 11-09-2015, 01:24
obsunal obsunal is offline
Registered User
FRC #4191
 
Join Date: Sep 2015
Location: Turkey
Posts: 3
obsunal is an unknown quantity at this point
Driving 2 robots at the same time

Hi,
I'm not sure if this is the right section, but I think it fits. Apologizes in advance.
We would like to drive two robot at the same time but we can't connect both at the same time, because both radios are 4191. If I go into modem interface and change ssid will it work? If not how can we make make both robots work?
Edit: Sorry for title.

Last edited by obsunal : 11-09-2015 at 03:46. Reason: Wrong title
  #2   Spotlight this post!  
Unread 11-09-2015, 01:27
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,825
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: Driving 2 motors at the same time

In theory, yes. In practice, it may be slightly more difficult.

I am not an expert at this, but I believe that you actually need to change the IP address of one of the radios (and changing the SSID would also be a good idea). Try using 1914 (your number, in reverse).
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

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

  #3   Spotlight this post!  
Unread 11-09-2015, 01:28
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: Driving 2 motors at the same time

Changing the SSID to give each robot a unique name is the usual way to do it, and it works fine.

(There's another option, but it isn't reasonable unless you have a dedicated wireless access point and the robot routers are configured to bridge to it.)
  #4   Spotlight this post!  
Unread 11-09-2015, 01:30
PikaDotus's Avatar
PikaDotus PikaDotus is offline
CEO
FRC #3501
Team Role: Leadership
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Sunnyvale, CA
Posts: 9
PikaDotus is an unknown quantity at this point
Re: Driving 2 motors at the same time

There are three places to change your team number.
  1. Use the FRC Bridge Configuration Tool to reprogram one of your radios to have a different team number (doesn't matter what it is, just keep the radio off when near other teams!)
  2. In Eclipse, go to Preferences > WPILib Preferences and change your team number to whichever radio you want to deploy to.
  3. On your driver station, open the settings section and change your team number to the team number of whichever radio you want to run using that computer.

Final thing: make sure you're connected to the right wifi network for the robot that you want to deploy to / run.
__________________
Technical debt is investing in the present using the future as collateral.
  #5   Spotlight this post!  
Unread 11-09-2015, 02:39
obsunal obsunal is offline
Registered User
FRC #4191
 
Join Date: Sep 2015
Location: Turkey
Posts: 3
obsunal is an unknown quantity at this point
Re: Driving 2 motors at the same time

Can you tell more about bridge thing? We have one spare radio. I could use as bridges and access point.

Quote:
Originally Posted by Alan Anderson View Post
Changing the SSID to give each robot a unique name is the usual way to do it, and it works fine.

(There's another option, but it isn't reasonable unless you have a dedicated wireless access point and the robot routers are configured to bridge to it.)
  #6   Spotlight this post!  
Unread 11-09-2015, 06:03
EmileH's Avatar
EmileH EmileH is offline
#dontbelarge
AKA: Emile Hamwey
FRC #1058 (The PVC Pirates) & SLFF (NE Way You Want It)
Team Role: Programmer
 
Join Date: Dec 2014
Rookie Year: 2011
Location: New England
Posts: 549
EmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant future
Re: Driving 2 motors at the same time

Quote:
Originally Posted by PikaDotus View Post
There are three places to change your team number.
  1. Use the FRC Bridge Configuration Tool to reprogram one of your radios to have a different team number (doesn't matter what it is, just keep the radio off when near other teams!)
  2. In Eclipse, go to Preferences > WPILib Preferences and change your team number to whichever radio you want to deploy to.
  3. On your driver station, open the settings section and change your team number to the team number of whichever radio you want to run using that computer.

Final thing: make sure you're connected to the right wifi network for the robot that you want to deploy to / run.
Another step (1.1) You also need to reflash your roborio with the new team number in addition to all the above steps. You can use the RoboRio imaging utility that came in the 2015 FRC software update to do this.
__________________
2016-present: High School Student, FRC 1058 PVC Pirates

  #7   Spotlight this post!  
Unread 11-09-2015, 09:39
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,946
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: Driving 2 motors at the same time

Here is a thread that talks about how to do this. Read Greg's posts in particular.

Running each robot on a separate SSID is probably the easiest. The typical non-event way to this is use the robot radio as an AP & set the SSID there. make sure the DHCP is turned on in the AP. (For the roborio class bots). Connect the DS computer to the robot you want to drive.

For the Roborios. You can go into the configuration web page and change the MDNS name there. Easier than doing all the other stuff.
__________________
If you don't know what you should hook up then you should read a data sheet

Last edited by FrankJ : 11-09-2015 at 09:41.
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 03:15.

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