Go to Post If you have a robot you don't need any more, use it for demos, or let a rookie team borrow it to learn wiring, programming, and demo around their school. - Barry Bonzack [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 23-07-2015, 18:13
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 158
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
Setting up a second router for practicing

Is it possible to connect the driver station laptop to a router which then will communicate with the robot's router? (Similar to what's happening on the field)

How can I do it? (What should the settings and IP of the router be?)
Will it improve communication during practice? We sometime have brief disconnections when connecting through Wi-Fi only.

Thank you!
__________________
2016-2017 - Programming Mentor
Curie Sub-Division Champions with 694, 379 & 1511
2015 - Team Captain & Head of Programming Crew
Carson Sub-Division Champions with 1325, 20 & 1711
First ever Israeli team on Einstein
2014 - Team Captain & Head of Programming Crew
2013 - Head of Programming Crew
2012 - Member of Programming Crew
  #2   Spotlight this post!  
Unread 23-07-2015, 18: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,906
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: Setting up a second router for practicing

I don't imagine it will change your brief disconnects much.
That can be due to many factors, such as heavy wireless use in your area, conflicting channels, etc.

Set the robot DLink to Bridge Mode.
Give it your team number as the SSID.
You can set it to acquire an IP address through DHCP or hardcode an IP address (10.te.am.1/255.0.0.0)

On the extra router set it to serve DHCP addresses in the team number range, 10.te.am.20 and higher
Also give it your team number as the SSID.

On your Driver Station PC, either wire Ethernet between the PC and the extra router, or connect to the team number SSID.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 23-07-2015 at 18:57.
  #3   Spotlight this post!  
Unread 24-07-2015, 04:13
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 158
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
Quote:
Originally Posted by Mark McLeod View Post
I don't imagine it will change your brief disconnects much.
That can be due to many factors, such as heavy wireless use in your area, conflicting channels, etc.

Set the robot DLink to Bridge Mode.
Give it your team number as the SSID.
You can set it to acquire an IP address through DHCP or hardcode an IP address (10.te.am.1/255.0.0.0)

On the extra router set it to serve DHCP addresses in the team number range, 10.te.am.20 and higher
Also give it your team number as the SSID.

On your Driver Station PC, either wire Ethernet between the PC and the extra router, or connect to the team number SSID.
Is it possible to do with a password on the robot's router?
__________________
2016-2017 - Programming Mentor
Curie Sub-Division Champions with 694, 379 & 1511
2015 - Team Captain & Head of Programming Crew
Carson Sub-Division Champions with 1325, 20 & 1711
First ever Israeli team on Einstein
2014 - Team Captain & Head of Programming Crew
2013 - Head of Programming Crew
2012 - Member of Programming Crew
  #4   Spotlight this post!  
Unread 24-07-2015, 06:43
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,171
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: Setting up a second router for practicing

We had some problems like yours. We recommend you do three things (at least):

1: Download an app on your phone that will show you what wifi channels are being used in your school. Choose a channel that is not being used.

2: Make your wifi connection requires a password. That way you do not get local cell phones randomly connecting all the time.

3: Remember wifi is not magic. It breaks down quickly if it has to go through walls (lots of solid brick/block walls in schools that do not exist at home) or metal (make sure the radio in your robot is not blocked in any direction, 360 in the plane of the field and vertically).


Good luck!
__________________
Fast, cheap or working - pick any two!
  #5   Spotlight this post!  
Unread 24-07-2015, 11:05
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,906
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: Setting up a second router for practicing

Quote:
Originally Posted by GuyM142 View Post
Is it possible to do with a password on the robot's router?
Yes, just use the same encryption and passkey as on the extra router.
You can also enable hidden wireless on the extra router to reduce automatic connect tries from other devices.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #6   Spotlight this post!  
Unread 24-07-2015, 16:29
Jacob Abel Jacob Abel is offline
Registered User
FRC #1557 (12 Volt Bolt)
Team Role: CAD
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Mount Dora, FL
Posts: 5
Jacob Abel is an unknown quantity at this point
Re: Setting up a second router for practicing

You can run the robot/robots through a primary router by just bridging the radios to the primary routers. If you are using 2 roborios, you have to reconfigure the 2nd roborio to have a different domain name. The easiest way would be to change the team number on the 2nd roborio.
The upside of bridging like this is that all devices have access to the internet and you can push code without changing networks.
  #7   Spotlight this post!  
Unread 26-07-2015, 11:01
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 158
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
Quote:
Originally Posted by Jacob Abel View Post
You can run the robot/robots through a primary router by just bridging the radios to the primary routers. If you are using 2 roborios, you have to reconfigure the 2nd roborio to have a different domain name. The easiest way would be to change the team number on the 2nd roborio.
The upside of bridging like this is that all devices have access to the internet and you can push code without changing networks.
I don't think I understand how bridging works. Does the router with the bridge mode connects always to the router with the same SSID?
If so how does it work with more than one router?
__________________
2016-2017 - Programming Mentor
Curie Sub-Division Champions with 694, 379 & 1511
2015 - Team Captain & Head of Programming Crew
Carson Sub-Division Champions with 1325, 20 & 1711
First ever Israeli team on Einstein
2014 - Team Captain & Head of Programming Crew
2013 - Head of Programming Crew
2012 - Member of Programming Crew
  #8   Spotlight this post!  
Unread 30-07-2015, 19:51
Jacob Abel Jacob Abel is offline
Registered User
FRC #1557 (12 Volt Bolt)
Team Role: CAD
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Mount Dora, FL
Posts: 5
Jacob Abel is an unknown quantity at this point
Re: Setting up a second router for practicing

Quote:
Originally Posted by GuyM142 View Post
I don't think I understand how bridging works. Does the router with the bridge mode connects always to the router with the same SSID?
If so how does it work with more than one router?
Well if you bridge them to a separate router like say the router that is used to access the internet then you would connect to the primary router and have access to both robots.

Bridging essentially takes a router and then makes it the slave of another router allowing you to connect multiple routers over WiFi. This essentially just creates one big network.
  #9   Spotlight this post!  
Unread 30-07-2015, 21:01
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,756
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: Setting up a second router for practicing

If your team has multiple roboRIOs, you need to give them either unique names or unique IP addresses. As mentioned, one thing you can do is use another team number, like one 10,000 higher. You can also use a web browser to go to the web page for the roboRIO and change its name. The DS supports suffixes such as -1 or -alpha of -practice. It will choose one based on team number, but if you click on the list, it will show all of them and you can pick from the list.

Greg McKaskle
  #10   Spotlight this post!  
Unread 04-08-2015, 13:50
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 336
fovea1959 will become famous soon enough
Re: Setting up a second router for practicing

Quote:
Originally Posted by Greg McKaskle View Post
If your team has multiple roboRIOs, you need to give them either unique names or unique IP addresses. As mentioned, one thing you can do is use another team number, like one 10,000 higher. You can also use a web browser to go to the web page for the roboRIO and change its name. The DS supports suffixes such as -1 or -alpha of -practice. It will choose one based on team number, but if you click on the list, it will show all of them and you can pick from the list.

Greg McKaskle
Where does one add the suffix in the DS?
  #11   Spotlight this post!  
Unread 05-08-2015, 10:01
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,756
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: Setting up a second router for practicing

You need to use the Web Interface to modify the roboRIO name to have a suffix.

In the DS, on the setup page where you enter your team number, you can also click on the drop-down button. It should list all discoverable robots that contain your team number, including the ones with the suffix. If only one is found, I believe the DS will automatically select it. If more than one is available, you select it from the list. I believe that you can also just type the team number and suffix into the Team Number field.

Greg McKaskle
  #12   Spotlight this post!  
Unread 05-08-2015, 16:10
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: Setting up a second router for practicing

Quote:
Originally Posted by Greg McKaskle View Post
You need to use the Web Interface to modify the roboRIO name to have a suffix.

In the DS, on the setup page where you enter your team number, you can also click on the drop-down button. It should list all discoverable robots that contain your team number, including the ones with the suffix. If only one is found, I believe the DS will automatically select it. If more than one is available, you select it from the list. I believe that you can also just type the team number and suffix into the Team Number field.

Greg McKaskle
That is so cool. Slightly different question: If you just change the MDNS name on the roborio's webpage to a different team number would the DS recognize the robot as a different team? IE connecting to is by changing the team number in the DS?
__________________
If you don't know what you should hook up then you should read a data sheet
  #13   Spotlight this post!  
Unread 07-08-2015, 16:17
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,756
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: Setting up a second router for practicing

The thing that assigns the roboRIO to a team is the device name. It used to be in the IP address as well -- still can be if you want.

A laptop connects to a network independent of team number. The DS identifies the robot with a name that matches the configured team number. The definition of matching was kept loose to allow for practice bots and such.

Greg McKaskle
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:18.

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