Go to Post don't be grumpy. No one is allowed to be grumpy during build. - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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 12-01-2017, 10:44
slomobile slomobile is offline
Registered User
no team
 
Join Date: Jul 2015
Location: Rossville TN
Posts: 9
slomobile is an unknown quantity at this point
DS and robot through home router 2017

I have heard at events, read on CD, and seen hints in screensteps that 'advanced' teams connect their driver stations, multiple robots, and multiple programming computers wirelessly through a single home router. Yet I have not seen any instructions that include the robot OM5P-AN or OM5P-AC as configured with the 2017 FRC radio configuration tool which eliminates the radio's manual management interface. Has anyone made this work? How must the home router be configured?

We have a 2017 control system with OM5P-AN wired and all firmware updated. When configured as access point it works fine, but we have had issues in 2015 and 2016 with things working at home but failing when the bridge was reprogrammed at regional events. We want to avoid that drama by testing at home as close as possible to event conditions with the robot radio in bridge mode. Also, we are tired of having to disconnect from the robot each time we need to look something up online.

We have access to several home routers, but started with https://www.gl-inet.com/ar300m/ Using FMS lite mode in the 2017 FRC radio configuration tool went as expected but the home router never logged a connection with the robot radio. If we just program the robot radio in bridge mode, without FMS lite mode, what conditions is the robot radio expecting at the router? SSID, password, port forwards, etc? Once configured that way, what do we have to do to make everything connect since the robot radio won't be broadcasting a SSID?
Reply With Quote
  #2   Spotlight this post!  
Unread 12-01-2017, 10:55
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: DS and robot through home router 2017

Here's an example of a setup like this just put OM5Ps in place of the DLinks.
The OM5Ps would be programmed for Bridge mode with the identical team numbers (just the OM5Ps, not the roboRIOs).


The playing field differs only in the establishment of VPNs for each robot and the use of security codes.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 12-01-2017 at 13:24.
Reply With Quote
  #3   Spotlight this post!  
Unread 12-01-2017, 13:22
slomobile slomobile is offline
Registered User
no team
 
Join Date: Jul 2015
Location: Rossville TN
Posts: 9
slomobile is an unknown quantity at this point
Re: DS and robot through home router 2017

That is what I thought. Did not work for me.
Field router is 10.0.0.4, no encryption, team# ssid. Opened port 5353 on field router for good measure.
I cannot know exactly how the robot radio is configured because it no longer contains a webserver interface. I used the 2017 radio configuration utility 17.2 , password and robot name empty, open mesh bridge mode, no firewall, with bandwidth limit.
OM5P-AN power light is on solid blue, light next to it is lit blue and blinks occasionally. DS connects to field router fine and appears in field router log, robot radio does not appear in field router log. Connecting to roboRIO with USB shows self assigned 169.254.15.156 on ethernet port. What is the next step to troubleshoot this?
Reply With Quote
  #4   Spotlight this post!  
Unread 12-01-2017, 13:27
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: DS and robot through home router 2017

I have to correct what I wrote before.
The SSID on each of the Bridges will have to be the same as the SSID of the AP.
That makes the Bridges connect to the AP of the same name.
The right way to handle it is with a managed switch or an AP supporting SSIDs for each unique team number.

So, using the FRC Radio Configuration tool to set each robot radio to the same team number, and giving the AP the same SSID would allow them to connect.
However, this might cause some problems, since the Tool will also give all the radios the same IP number. We can't use a browser to set the SSID separately, which would be the preference. I'd have to experiment to see if there is an easy way around this conflict.


If you have last years AN bridges and last season's FRC Radio Tool, then you could use it to set the old firmware and the unique team numbers, then browse to change just the SSID to make it a common one.

Your robots can be set up with different team numbers than the Bridge it uses.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 12-01-2017 at 13:46.
Reply With Quote
  #5   Spotlight this post!  
Unread 12-01-2017, 13:44
slomobile slomobile is offline
Registered User
no team
 
Join Date: Jul 2015
Location: Rossville TN
Posts: 9
slomobile is an unknown quantity at this point
Re: DS and robot through home router 2017

At this point, I am only testing with a single robot and single driver station, so an IP conflict cannot be the root cause. But to assign a different ssid that team number, just assign a robot name, which appends that text to the end of the ssid. Theoretically... as there is really no way I can think of to verify what the configuration tool has written except to look at the hex of the firmware which would be Greek to me.
Reply With Quote
  #6   Spotlight this post!  
Unread 12-01-2017, 13:48
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: DS and robot through home router 2017

Did you setup DHCP on the AP to assign addresses in the 10.te.am.20-200 range?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 12-01-2017, 14:14
slomobile slomobile is offline
Registered User
no team
 
Join Date: Jul 2015
Location: Rossville TN
Posts: 9
slomobile is an unknown quantity at this point
Re: DS and robot through home router 2017

No I did not! It will take me a little bit to figure out how to write the file that sets the DHCP lease range, but I can reserve DHCP for the test hardware connected now by MAC address, I just need to know what the robot radio host name is.
Reply With Quote
  #8   Spotlight this post!  
Unread 12-01-2017, 15:49
slomobile slomobile is offline
Registered User
no team
 
Join Date: Jul 2015
Location: Rossville TN
Posts: 9
slomobile is an unknown quantity at this point
Re: DS and robot through home router 2017

Thank you so much for your help Mark. No success yet. Is it the /etc/ethers file that I need to modify to "setup DHCP on the AP to assign addresses in the 10.te.am.20-200 range"? Do you have a template for that?
Reply With Quote
  #9   Spotlight this post!  
Unread 12-01-2017, 16:27
slomobile slomobile is offline
Registered User
no team
 
Join Date: Jul 2015
Location: Rossville TN
Posts: 9
slomobile is an unknown quantity at this point
Re: DS and robot through home router 2017

Another snafu, with the field router at 10.0.0.4 with 255.255.255.0 netmask, it is impossible to have it assign DHCP addresses in the 10.te.am.20-200 range because(I think) that is a different subnet.
Reply With Quote
  #10   Spotlight this post!  
Unread 13-01-2017, 14:37
slomobile slomobile is offline
Registered User
no team
 
Join Date: Jul 2015
Location: Rossville TN
Posts: 9
slomobile is an unknown quantity at this point
Re: DS and robot through home router 2017

Ok, DHCP is configured and functioning on the field router. But that doesn't seem to be the problem.

As I said before, when the robot radio is configured as Access Point, it works fine. However, the point of this exercise was to test with the radio in bridge mode as it would be at an event. When the configuration tool is used to set it in bridge mode, whether normal bridge or FMS lite, the radio will not respond to ping requests on any interface wired or wireless. Can you think of any way to verify that the robot radio is actually functioning as expected in bridge mode?
Reply With Quote
  #11   Spotlight this post!  
Unread 13-01-2017, 15:01
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: DS and robot through home router 2017

The subnet mask of the FMS computer is 255.0.0.0. The quirkyness of IP addressing allows it to talk to sub nets of 255.xxx.xxx.xxx as long as the IP address is 10.xxx.xxx.xxx, I think that in the full FMS the DHCP lives in the wireless router and is different for each robot. (each robot has its own SSID) VPN and smart switches allow for that.

The new radio might not be configured to respond to ping in bridge mode or you have the wrong IP for the bridge. As long as it connects to the AP its IP address really doesn't matter. The way to test it is to see if you can connect or ping something (like the roborio) connected to the radio.
__________________
If you don't know what you should hook up then you should read a data sheet

Last edited by FrankJ : 13-01-2017 at 15:03.
Reply With Quote
  #12   Spotlight this post!  
Unread 13-01-2017, 16:13
slomobile slomobile is offline
Registered User
no team
 
Join Date: Jul 2015
Location: Rossville TN
Posts: 9
slomobile is an unknown quantity at this point
Re: DS and robot through home router 2017

So it looks like we need some more information about the FMS DHCP server rules and ARP in order to ensure everything is addressable. The roboRio has a name roborio-XXXX-frc.local but the radio does not as far as I know, and it is not clear that it has a static IP in bridge mode. Therefore, the only basis I have to assign an address to the robot radio via DHCP is according to MAC address.

How does FMS do it? Does the radio kiosk record the radio MAC along with team number to be later passed along to FMS?
Reply With Quote
  #13   Spotlight this post!  
Unread 14-01-2017, 15:49
nickmcski nickmcski is offline
Registered User
AKA: Nicholas McCurry
FRC #1482 (Grandin Ghosts)
Team Role: Alumni
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Canada
Posts: 112
nickmcski has a spectacular aura aboutnickmcski has a spectacular aura aboutnickmcski has a spectacular aura about
Re: DS and robot through home router 2017

Quote:
Originally Posted by slomobile View Post
So it looks like we need some more information about the FMS DHCP server rules and ARP in order to ensure everything is addressable. The roboRio has a name roborio-XXXX-frc.local but the radio does not as far as I know, and it is not clear that it has a static IP in bridge mode. Therefore, the only basis I have to assign an address to the robot radio via DHCP is according to MAC address.

How does FMS do it? Does the radio kiosk record the radio MAC along with team number to be later passed along to FMS?
To my knowledge, FMS does not need to know the IP address of the radio. I know for sure the Radio configuration console does not send any information back to FMS.
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:12.

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