Go to Post If duct tape isn't the answer, you're not asking the right question. - Morgoth [more]
Home
Go Back   Chief Delphi > Technical > 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 10-01-2017, 10:15
OreNPluS OreNPluS is offline
Registered User
FRC #1577 (Steampunk)
Team Role: Programmer
 
Join Date: Dec 2015
Rookie Year: 2012
Location: Isarel
Posts: 10
OreNPluS is an unknown quantity at this point
Can't connect to the robot

Hello everyone !
my team got a new programming leptop for this year, we got labVIEW set-up and everything on the computer, but i can't get the communication light on the driver station to be green (only red...)(using Wi-Fi), the problem isn't the roboRIO itself because i can connect from every another computer i try...

when i try netstat command on the cmd, the computer did find the ip of the robot, 169.254.175.10, but i when i ping that ip or roboRIO-1577-FRC.local, i am getting:

when pinging 169.254.175.10:
Reply from 169.254.66.43: Destination host unreachable (x4 times)

when pinging roboRIO-1577-FRC.local, it just says it could not find the host...


another funny thing is, when trying to connect using ethernet cable diractly from the computer to the roboRIO, everything work just fine
(the usb port of the roboRIO is unreachable, don't ask.... but i guss it will also work just fine like the ethernet cable)

any ideas ?
__________________
2012-2015 FLL Teams (Programmer)
2016-Present FRC #1577 Steampunk (Programmer)
Reply With Quote
  #2   Spotlight this post!  
Unread 10-01-2017, 14:24
teletype-guy's Avatar
teletype-guy teletype-guy is offline
Old Fart Electrical Engineer
AKA: Gil Smith
FRC #0698 (Microbots)
Team Role: Mentor
 
Join Date: Dec 2016
Rookie Year: 2014
Location: Chandler, AZ
Posts: 16
teletype-guy is a jewel in the roughteletype-guy is a jewel in the roughteletype-guy is a jewel in the rough
Re: Can't connect to the robot

I am unsure about your ethernet issue, as I have not dug into the new radio setup (which uses 10.x.x.x, and I don't want to change my laptop from 192.x.x.x). I am testing with just an old router in place of the radio and it works fine.

However, USB should work -- connect a usb cable and disconnect the radio cable. In a browser (with SilverLight added) and go to 172.22.11.2 to get to roboRIO-(team-number)-FRC Sys Config page. Driverstation also works over usb, I believe, for tethered tests.

gil
Reply With Quote
  #3   Spotlight this post!  
Unread 10-01-2017, 15:03
OreNPluS OreNPluS is offline
Registered User
FRC #1577 (Steampunk)
Team Role: Programmer
 
Join Date: Dec 2015
Rookie Year: 2012
Location: Isarel
Posts: 10
OreNPluS is an unknown quantity at this point
Re: Can't connect to the robot

Quote:
Originally Posted by teletype-guy View Post
I am unsure about your ethernet issue, as I have not dug into the new radio setup (which uses 10.x.x.x, and I don't want to change my laptop from 192.x.x.x). I am testing with just an old router in place of the radio and it works fine.

However, USB should work -- connect a usb cable and disconnect the radio cable. In a browser (with SilverLight added) and go to 172.22.11.2 to get to roboRIO-(team-number)-FRC Sys Config page. Driverstation also works over usb, I believe, for tethered tests.

gil
that is the thing, using ethernet cable it works fine, usb should work also ...
my problem is, when connecting to the roboRIO using Wi-Fi, i cant get communication on the driverstation ....
__________________
2012-2015 FLL Teams (Programmer)
2016-Present FRC #1577 Steampunk (Programmer)
Reply With Quote
  #4   Spotlight this post!  
Unread 10-01-2017, 17:50
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: Can't connect to the robot

I assume your PC wireless connects to the robot AP just fine.

Try disabling the Windows firewall and any anti-virus you may have running. Those can block the FRC handshake depending on how the connection is treated (Private, etc).
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 10-01-2017, 18:15
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,275
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Can't connect to the robot

First thing to check if the IP address of the Programming Laptop is: 169.254.175.xxx. If not, you will have trouble.

Is the IP Address of the Programming Laptop: 169.254.66.xxx? Why is Ping returning 169.254.66.43 if you asked for 169.254.175.10?

I am not a fan of mDNS. I prefer to give everything a valid IP address.

Use IPCONFIG from the CMD box to find out your IP Address.
__________________


Last edited by rich2202 : 10-01-2017 at 18:19.
Reply With Quote
  #6   Spotlight this post!  
Unread 14-01-2017, 16:01
mdballard's Avatar
mdballard mdballard is offline
SW and Control Systems Mentor
AKA: Matthew Ballard
FRC #4329 (Lutheran Roboteers)
Team Role: Mentor
 
Join Date: Aug 2014
Rookie Year: 2014
Location: Missouri
Posts: 11
mdballard is an unknown quantity at this point
Re: Can't connect to the robot

I have seen a possibly related problem where the radio sets a frc-robot.local domain on all DHCP clients. This causes pings to the roborio-xxxx-frc.local address to fail and the driver station will not connect. I flashed the ac radio with th 17.2 version of the radio configuration tool. There is no way to configure the domain on it.

I'm still tracking down the issue.
Reply With Quote
  #7   Spotlight this post!  
Unread 14-01-2017, 18:40
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: Can't connect to the robot

Quote:
Originally Posted by rich2202 View Post
Is the IP Address of the Programming Laptop: 169.254.66.xxx? Why is Ping returning 169.254.66.43 if you asked for 169.254.175.10?
That second IP address would be the IP of his computer.

The problem I am seeing is you are getting and APIPA address. Do you have the Ethernet cable directly connected from your laptop to the roboRIO? You should make sure that your openmesh radio is imaged and configured for you team.
Reply With Quote
  #8   Spotlight this post!  
Unread 16-01-2017, 08:20
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,275
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Can't connect to the robot

Quote:
Originally Posted by nickmcski View Post
That second IP address would be the IP of his computer.
It would eventually be a problem if the first 3 numbers in the IP address did not match.
__________________

Reply With Quote
  #9   Spotlight this post!  
Unread 22-01-2017, 14:31
pascal_bergeron pascal_bergeron is offline
Registered User
FRC #3986
 
Join Date: Jan 2017
Location: Canada
Posts: 2
pascal_bergeron is an unknown quantity at this point
Re: Can't connect to the robot

Quote:
Originally Posted by mdballard View Post
I have seen a possibly related problem where the radio sets a frc-robot.local domain on all DHCP clients. This causes pings to the roborio-xxxx-frc.local address to fail and the driver station will not connect. I flashed the ac radio with th 17.2 version of the radio configuration tool. There is no way to configure the domain on it.

I'm still tracking down the issue.
Where you able to solve this?
We seem to be having the same problem with the wifi connection. We can connect through the radio by ethernet cable, but not by wifi.

When connected by wifi, we can ping the roborio by ip address (10.xx.xx.21) but not by name (roborio-xxxx-frc.local). The driver connection cannot connect however. It seems to be a problem with name resolution.
Reply With Quote
  #10   Spotlight this post!  
Unread 26-01-2017, 20:31
mdballard's Avatar
mdballard mdballard is offline
SW and Control Systems Mentor
AKA: Matthew Ballard
FRC #4329 (Lutheran Roboteers)
Team Role: Mentor
 
Join Date: Aug 2014
Rookie Year: 2014
Location: Missouri
Posts: 11
mdballard is an unknown quantity at this point
Re: Can't connect to the robot

So our solution to the name resolution problem was to install Apple Bonjour (part of iTunes). Bonjour is a working implementation of mDNS for Windows.

I asked another mentor who works for Microsoft to check and see if Microsoft was working on any fixes related to mDNS and as of right now it is not a high priority for their development team.
Reply With Quote
  #11   Spotlight this post!  
Unread 27-01-2017, 00:51
mastachyra's Avatar
mastachyra mastachyra is offline
Registered User
FRC #2781 (RoboPride)
Team Role: Mentor
 
Join Date: Nov 2014
Rookie Year: 2013
Location: Illinois
Posts: 250
mastachyra is just really nicemastachyra is just really nicemastachyra is just really nicemastachyra is just really nice
Re: Can't connect to the robot

Sorry, if I'm starting with too simple a solution, but just a hunch:

The radio Ethernet port furthest from the power input is used for connecting to your computer. The Ethernet port adjacent to the power input is for connecting to the roborio.

Also, it's important to know that the radio power must come from the 12 volt/2 amp outputs of the VRM. (Different than previous years)
__________________
2014: EtaBot - MWR/30th place/no PO
2015: ThetaBot - MWR/30th place/no PO, R2OC/Winners, IndyRAGE 5th Alliance, WMRI QF
2016: IotaBot - MWR/16th place/QF, R2OC/7th Alliance Captain/QF, Boiler Bot Battle/6th place/Finalist

Last edited by mastachyra : 27-01-2017 at 00:56. Reason: I had a second "too simple" solution...
Reply With Quote
  #12   Spotlight this post!  
Unread 27-01-2017, 18:54
BSV BSV is offline
FTC / FRC mentor
AKA: Travis
FRC #2723
 
Join Date: May 2013
Rookie Year: 2011
Location: Oklahoma City
Posts: 148
BSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud of
Re: Can't connect to the robot

We're having the same problem.

When we log in to the roboRio over the USB, the IP address says 0.0.0.0.

We can't log into the router to get the IP or see what's going on because the web interface no longer works.

We ran the radio config utility and same issue.

Old radio works fine.
Reply With Quote
  #13   Spotlight this post!  
Unread 28-01-2017, 23:34
BSV BSV is offline
FTC / FRC mentor
AKA: Travis
FRC #2723
 
Join Date: May 2013
Rookie Year: 2011
Location: Oklahoma City
Posts: 148
BSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud of
Re: Can't connect to the robot

Bumping because we'd like to be able to control the robot without needing the USB cable plugged in.

We installe iTunes and it didn't help.

Other ideas? Thanks!
Reply With Quote
  #14   Spotlight this post!  
Unread 29-01-2017, 07:49
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: Can't connect to the robot

If (1) the roboRIO is connected to the radio by Ethernet, and (2) you connect at the same time via USB and browse to the roboRIO webserver, and (3) the Ethernet address is 0.0.0.0, then the radio is not providing an IP address.
That usually means that the roboRIO is not detecting anything connected to the Ethernet connection.

Does the Ethernet connection on the roboRIO light up with the yellow & green status lights?

Is the roboRIO Ethernet connector 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 : 29-01-2017 at 10:37.
Reply With Quote
  #15   Spotlight this post!  
Unread 30-01-2017, 22:44
BSV BSV is offline
FTC / FRC mentor
AKA: Travis
FRC #2723
 
Join Date: May 2013
Rookie Year: 2011
Location: Oklahoma City
Posts: 148
BSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud of
Re: Can't connect to the robot

Quote:
Originally Posted by Mark McLeod View Post
Does the Ethernet connection on the roboRIO light up with the yellow & green status lights?
Thanks. The 0.0.0.0 was a bad ethernet cable. We got it to connect.

However, on the driver station, we have to enter the IP address of the RoboRio rather than the team number to get it to connect, and the same with the webcam.

roborio-2723-frc.local address is not recognize on the laptop, and since the IP address changes sometimes there is no guarantee we can guess the correct one. Seems like a laptop networking issue, but we're not sure how to solve it.
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:58.

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