Go to Post Many software problems can be solved by plugging wires in. - Eric Finn [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-01-2017, 11:23
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 509
Hitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond repute
Connection Issues

Hello,
Today we were trying to connect to our robot. We used last year's robot (last year's roboRIO, etc.). Prior to doing this, we re-imaged the roboRIO (we confirmed the new image was 2017v8), updated firmware on two radios (one from last year, one new one), and configured the radios to a 2.4 GHz access point. However, when we tried to connect to the robot, the wifi choices listed our robot, and allowed us to connect. However, the Driver Station did not see comms from the robot, and when we tried to visit roborio-4557-FRC.local through a browser, it said that the configuration page was unavailable*.

We also noticed that the wifi light on the radio (both were tried) turned yellow instead of the usual green. If you're able to help us out, that would be great!

*I read somewhere that they took the configuration page away. Can someone confirm this one way or the other?
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
Reply With Quote
  #2   Spotlight this post!  
Unread 16-01-2017, 12:09
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,861
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: Connection Issues

A yellow light on the radio is good when you're connected.

If by configuration page you mean the radio's web server where we used to be able to check and adjust it's settings-that's gone. The FRC radio firmware doesn't include a web server.

I'd hook up a USB cable between your PC and roboRIO (while keeping the roboRIO connected to the radio) to see what Ethernet IP it got assigned and if it's compatible with the IP your PC got assigned.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 16-01-2017 at 12:34.
Reply With Quote
  #3   Spotlight this post!  
Unread 16-01-2017, 14:09
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 509
Hitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond repute
Re: Connection Issues

Quote:
Originally Posted by Mark McLeod View Post
A yellow light on the radio is good when you're connected.

If by configuration page you mean the radio's web server where we used to be able to check and adjust it's settings-that's gone. The FRC radio firmware doesn't include a web server.

I'd hook up a USB cable between your PC and roboRIO (while keeping the roboRIO connected to the radio) to see what Ethernet IP it got assigned and if it's compatible with the IP your PC got assigned.
I'll try it out tonight and let you know.
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
Reply With Quote
  #4   Spotlight this post!  
Unread 16-01-2017, 15:18
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 509
Hitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond repute
Re: Connection Issues

Also, a follow-up question:

If the config page is gone, how do we set device numbers for Talon SRX's on the CAN network?
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
Reply With Quote
  #5   Spotlight this post!  
Unread 16-01-2017, 16:16
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,861
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: Connection Issues

The roboRIO configuration page is still there.
Hookup your USB cable and browse to 172.22.11.2
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #6   Spotlight this post!  
Unread 16-01-2017, 19:50
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 509
Hitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond repute
Re: Connection Issues

Quote:
Originally Posted by Mark McLeod View Post
The roboRIO configuration page is still there.
Hookup your USB cable and browse to 172.22.11.2
Thanks for the help. We were able to connect today. One last question (hopefully )*, we were able to connect to the new radio by ethernet today (as well as by wireless to the old radio), but we weren't able to connect wirelessly to the new radio.



Couldn't decide so here's an xkcd comic on the matter https://xkcd.com/541/
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
Reply With Quote
  #7   Spotlight this post!  
Unread 16-01-2017, 21:51
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,861
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: Connection Issues

Did the new radio show up at all in the wireless list on the PC?
It's possible it uses the team number followed by an underscore (4557_ ) for instance-depends on if you put anything in the Robot Name field.

What did the new radio wifi status light show?

I assume only one radio was powered at the same time and both were set for 2.4GHz operation.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #8   Spotlight this post!  
Unread 16-01-2017, 22:05
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 509
Hitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond repute
Re: Connection Issues

Quote:
Originally Posted by Mark McLeod View Post
Did the new radio show up at all in the wireless list on the PC?
It's possible it uses the team number followed by an underscore (4557_ ) for instance-depends on if you put anything in the Robot Name field.

What did the new radio wifi status light show?

I assume only one radio was powered at the same time and both were set for 2.4GHz operation.
1. No, it did not show up in the list.
2. The wifi status light was not on.

The radio was set for 2.4 GHz and operated alone. On set-up, nothing was entered into the robot name field.
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
Reply With Quote
  #9   Spotlight this post!  
Unread 16-01-2017, 22:17
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,861
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: Connection Issues

If the wifi light was not on, then run the radio through the FRC Radio Config Utility again.
You can also try cycling the radio power.
For whatever reason, it failed to startup wifi.
If it starts correctly the wifi light should be red, before the PC connects, and yellow after it connects.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 16-01-2017 at 22:20.
Reply With Quote
  #10   Spotlight this post!  
Unread 16-01-2017, 22:24
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 509
Hitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond repute
Re: Connection Issues

Quote:
Originally Posted by Mark McLeod View Post
If the wifi light was not on, then run the radio through the FRC Radio Config Utility again.
You can also try cycling the radio power.
For whatever reason, it failed to startup wifi.
If it starts correctly the wifi light should be red, before the PC connects, and yellow after it connects.
I'll try it tomorrow and let you know how it goes. Thanks!
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
Reply With Quote
  #11   Spotlight this post!  
Unread 24-01-2017, 17:06
shieldrobotics shieldrobotics is offline
Registered User
FRC #5785
 
Join Date: Jan 2017
Location: Baton Rouge
Posts: 1
shieldrobotics is an unknown quantity at this point
Re: Connection Issues

Hello,
Today we were trying to connect to our radio.
We used last year's robot (last year's roboRIO, etc.).
Prior to doing this, we re-imaged the roboRIO, updated firmware on the radio, and configured the radios to a 2.4 GHz access point. However, when we tried to connect to the robot, the wifi choices did not list our robot.
We restarted our computer and the robot multiple times but nothing helped.
Any advice? All tips or ideas are welcome!

Thanks in advance
Reply With Quote
  #12   Spotlight this post!  
Unread 30-01-2017, 00:27
sfs sfs is offline
Software Engineer
AKA: Steve Siirila
FRC #2220 (Blue Twilight)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Eagan, MN
Posts: 23
sfs is an unknown quantity at this point
Re: Connection Issues

Quote:
Originally Posted by Hitchhiker 42 View Post
Hello,
Today we were trying to connect to our robot. We used last year's robot (last year's roboRIO, etc.). Prior to doing this, we re-imaged the roboRIO (we confirmed the new image was 2017v8), updated firmware on two radios (one from last year, one new one), and configured the radios to a 2.4 GHz access point. However, when we tried to connect to the robot, the wifi choices listed our robot, and allowed us to connect. However, the Driver Station did not see comms from the robot, and when we tried to visit roborio-4557-FRC.local through a browser, it said that the configuration page was unavailable*.

We also noticed that the wifi light on the radio (both were tried) turned yellow instead of the usual green. If you're able to help us out, that would be great!

*I read somewhere that they took the configuration page away. Can someone confirm this one way or the other?
We are having a similar issue. We can connect wirelessly using the DS and the webdashboard to the RoboRIO, but cannot load programs using Eclipse with Java. This worked fine until we updated to the 2017 FRC Update, 2017 Radio Firmware, 2017 Eclipse FRC Plugins, and the 2017 RoboRIO image. The only way we have been able to program the RoboRIO since then is via USB.

The error that comes up prior to BUILD FAILED is a "connection refused" when attempting the connection to port 22 (ssh) on the RoboRIO. We tried turning off the firewall on the laptop, tried other laptops, tried a different RoboRIO, a different radio, re-imaged the RoboRIO again, re-flashed the radio again. We initially loaded firmware on the radios with the "firewall" box checked, so we ran through the process again without it checked (which is the default). That also didn't make any difference. We also couldn't ssh into the roborio from a Linux machine on the robot network, so it doesn't appear to be an issue on the laptop side of things.

Has anyone else experienced these sorts of problems? Again, the robot can be operated wirelessly, and the webdashboard is working fine when connected wirelessly.

Thanks in advance for any suggestions.
Reply With Quote
  #13   Spotlight this post!  
Unread 30-01-2017, 09:33
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,861
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: Connection Issues

A couple of things to try on the ssh and other connections that aren't working-

(1) On one of the connections that won't work, try connecting to:
roboRIO-2220-frc.frc-robot.local

(2) use IE or Firefox to connect to the roboRIO over USB and see what Ethernet IP the roboRIO was assigned (on the front webpage). Try connecting directly to that IP address.

(3) You can try hardcoding the roboRIO IP address to 10.22.20.2, however you must always have the roboRIO and PC connected through the radio for it to work.

__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 30-01-2017 at 09:49.
Reply With Quote
  #14   Spotlight this post!  
Unread 30-01-2017, 09:53
flemdogmillion's Avatar
flemdogmillion flemdogmillion is offline
Programmer, Builder, Driver...
FRC #3007
 
Join Date: Nov 2016
Rookie Year: 2015
Location: Minnesota
Posts: 90
flemdogmillion will become famous soon enoughflemdogmillion will become famous soon enough
Re: Connection Issues

Hello,
Our new KOP 12V OpenMesh radio still isn't starting wifi, the wifi light doesn't come on and the network doesn't show up in the list. We realized we needed this fixed before competition, so it has become urgent. We tried reconfiguring- still no wifi. We reloaded firmware and reconfigured- still no wifi. At this point we do not know our other options. Any help is much appreciated.
__________________
Team 4506: 2015-2016
Team 3007: 2017

Jack of all trades except C++ & Java
Reply With Quote
  #15   Spotlight this post!  
Unread 30-01-2017, 10:17
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,861
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: Connection Issues

If the radio wifi light doesn't come on it can't work.

Is the radio powered by one of the VRM 12v/2a connections? The 12v/500ma connection doesn't supply enough power for the wifi to reliably operate.

Are you reinstalling the firmware & reconfiguring the radio from different PC's, in case it's a PC hiccup?
Do you have last year's radio to try?

Is the roboRIO Ethernet cable plugged into the radio port closest to the power connector?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 30-01-2017 at 12:43.
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 23:54.

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