Go to Post Yes, no more dancing. Robots is serious business :rolleyes: - wilsonmw04 [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-02-2016, 12:02
priderobotics priderobotics is offline
Registered User
FRC #5141 (PRIDE Robotics)
 
Join Date: Jan 2016
Rookie Year: 2016
Location: North Kansas City
Posts: 8
priderobotics is an unknown quantity at this point
PC restart required every time bot is restarted

With the new router/radio, every time we power cycle the bot, we can't get a green light for robot communications in the DS. We have to restart the computer to get the green light, and then everything works great from that point on.

Some things I've read in the forums here suggest that it might be an mDNS issue (?), but I'm not sure how to fix it. Has anyone else had this problem? Any ideas for how to work around this so we don't have to keep restarting the computer all the time?

Things I haven't tried: installing/re-installing iTunes so we have the current version of Bonjour, or ipconfig /flushdns. Any other suggestions?

(This could be really annoying/debilitating at the competition, so I'd love to get it figured out.)
  #2   Spotlight this post!  
Unread 23-02-2016, 12:12
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,196
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: PC restart required every time bot is restarted

Plug the RoboRio into the ethernet port of the Radio that is closest to the Power Plug.

Instead of restarting your computer, press the Reset button on the RoboRio.

Let me know if you can then connect.
  #3   Spotlight this post!  
Unread 23-02-2016, 14:57
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 358
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: PC restart required every time bot is restarted

Is the windows firewall on? If it is, try turning it off when its not communicating.
__________________
Brian K
Team 1225 Robotics Mentor
  #4   Spotlight this post!  
Unread 23-02-2016, 22:16
priderobotics priderobotics is offline
Registered User
FRC #5141 (PRIDE Robotics)
 
Join Date: Jan 2016
Rookie Year: 2016
Location: North Kansas City
Posts: 8
priderobotics is an unknown quantity at this point
Re: PC restart required every time bot is restarted

We turned off the fire wall. When that didn't work we plunged the RoboRio into the ethernet port of the Radio that is closest to the power plug, and then pressed the reset button on the RoboRio, but sadly none of those worked. Got any other ideas we could try
  #5   Spotlight this post!  
Unread 23-02-2016, 22:30
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,621
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: PC restart required every time bot is restarted

By any chance:

Are you letting your laptop go to sleep while you wait on the robot?
Did you let the software disable the Windows fast boot?

Cause if you left fast boot enabled a reboot may be required to get Windows to cooperate again.
At least according to the driver's station installer that asks to disable this feature.

(5th time I've burned the hours to install all this and the installer is quite the pest about it.)

Last edited by techhelpbb : 24-02-2016 at 04:18.
  #6   Spotlight this post!  
Unread 24-02-2016, 06:37
weaversam8 weaversam8 is offline
Team Captain
AKA: Sam Weaver
FRC #4534 (Wired Wizards)
Team Role: Leadership
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Wilmington, North Carolina
Posts: 137
weaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to behold
One of our drivers has had this issue constantly, and we can't figure it out. It seems to be that they are unable to resolve the mDNS address for the bot
__________________
ORB Haow!

  #7   Spotlight this post!  
Unread 24-02-2016, 06:59
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,196
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: PC restart required every time bot is restarted

Have you tried restarting the ds program after resetting the roborio?
  #8   Spotlight this post!  
Unread 24-02-2016, 07:00
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,196
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: PC restart required every time bot is restarted

Have you tried restarting the ds program after resetting the roborio?
  #9   Spotlight this post!  
Unread 24-02-2016, 08:15
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,751
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: PC restart required every time bot is restarted

Anytime the comms light is red, but i think it should be green, I first switch to the second tab of the DS to look at the ping results. If the robot light is green, then the DS knows the IP of the robot -- it can ping the robot based on what you put into the team tab of the third tab.

If the robot ping light is green, that means ping works, but the UDP protocol doesn't. This is either due to firewall or other port blocking mechanisms or the roboRIO protocol program is no longer running. I will sometimes hit the reset button on the roboRIO to get the program running, though if you were shelled in, you could do other things to check on it and get it going.

If the ping light is not on, click to the third tab to see that the team number is entered correctly. You can click on the arrow next to the field to see if the robot shows up, but it probably would have been selected if it were. You can hold shift and click the arrow to see an unfiltered list. Due to the radio change, you may want to look at the link light on the roboRIO. The small green and yellow LEDs right next to the ethernet port. If not on, unplug and replug the cable, make sure it is seated on both ends. Also swap the port used on the OpenMesh, though the port next to the power should be preferred, it is quick to try both.

It is possible to debug further to see if it is truly an mDNS issue, but personally I haven't seen that many occurrences this year compared to last.

If you have other observations or symptoms, please post them.
Greg McKaskle
  #10   Spotlight this post!  
Unread 25-02-2016, 23:38
carrud carrud is offline
Registered User
AKA: Clark Rudder
FRC #2637
Team Role: Mentor
 
Join Date: Feb 2014
Rookie Year: 2014
Location: Los Angeles Area
Posts: 20
carrud is an unknown quantity at this point
Re: PC restart required every time bot is restarted

I am experiencing this same kind of issue (and may others are, as well. They just sound diff because of they way the see it. But I think it is this same thing).

I have confirmed that whenever my laptop disconnects from the network the mDNS stops resolving. The network will disconnect any time the robot is powered off/on, for example. When the laptop reconnects to the network I can ping everybody's IP address, but I cannot get any utility to resolve the name (ping, DS, Internet Explorer, Eclipse)

So far the only way I have fixed this is to reboot the laptop.
  #11   Spotlight this post!  
Unread 26-02-2016, 00:57
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,196
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: PC restart required every time bot is restarted

Try giving the RoboRio and the Driver Station a fixed IP address.

RoboRio: 10.TE.AM.2
Driver Station: 10.TE.AM.5
Subnet mask: 255.0.0.0
  #12   Spotlight this post!  
Unread 26-02-2016, 07: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,802
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: PC restart required every time bot is restarted

Does the problem clear up by using ipconfig /flushdns in a command window
or
stopping/restarting the mdns service
- Search for Services
- Look for and click on NI mDNS Responder Service
- Use the Stop and Restart that appear in the left of the window

What PC OS are you using?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 26-02-2016 at 07:58.
  #13   Spotlight this post!  
Unread 26-02-2016, 08:06
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,751
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: PC restart required every time bot is restarted

I haven't seen it this year, but one of the bugs that we weren't able to make much progress on was when the multicast group was not up to date. So the mDNS calls return normally, but return cached results. I was watching the TCP traffic and could tell that the discovery was not going over the wire.

I believe that if you fiddle with the laptop networking enough, it will connect without requiring a reboot. Specifically, when Windows decides it needs to update the multicast group, the mDNS call will suddenly find the device that was connected the whole time. I was never able to find a way to flush or rebuild that info.

If anyone has amazing Windows networking ninja skills and knows how to force this, please chime in.

Greg McKaskle
  #14   Spotlight this post!  
Unread 26-02-2016, 11:13
rrossbach rrossbach is offline
Registered User
AKA: Ron R
FRC #2607 (RoboVikings)
Team Role: Mentor
 
Join Date: Nov 2008
Rookie Year: 2008
Location: Warrington PA
Posts: 90
rrossbach is a splendid one to beholdrrossbach is a splendid one to beholdrrossbach is a splendid one to beholdrrossbach is a splendid one to beholdrrossbach is a splendid one to beholdrrossbach is a splendid one to beholdrrossbach is a splendid one to behold
Re: PC restart required every time bot is restarted

Quote:
Originally Posted by Greg McKaskle View Post
I haven't seen it this year, but one of the bugs that we weren't able to make much progress on was when the multicast group was not up to date. So the mDNS calls return normally, but return cached results. I was watching the TCP traffic and could tell that the discovery was not going over the wire.

I believe that if you fiddle with the laptop networking enough, it will connect without requiring a reboot. Specifically, when Windows decides it needs to update the multicast group, the mDNS call will suddenly find the device that was connected the whole time. I was never able to find a way to flush or rebuild that info.
Other than a full PC reboot, disabling and re-enabling the network adapter consistently resolves the problem whenever I see it. Presumably that forces the multicast group update.

I've not been able to resolve the problem just using "ipconfig /flushdns"

Hope this helps!

EDIT: sorry, neglected to also mention that when I've seen the problem, other networking apps all work fine....I'm able to ping roborio-XXXX-frc from the command line, able to ssh into it with PuTTY, etc
__________________

FIRST Mid-Atlantic Volunteer
FRC Team #2607 Mentor

Last edited by rrossbach : 26-02-2016 at 11:27.
  #15   Spotlight this post!  
Unread 26-02-2016, 12:14
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: PC restart required every time bot is restarted

Quote:
Originally Posted by rrossbach View Post
Other than a full PC reboot, disabling and re-enabling the network adapter consistently resolves the problem whenever I see it.
With a single exception, that's my experience as well.

The one case where the disable/reenable didn't work for me was with a particular USB-to-Ethernet adapter. It seemed not to take ANY changes to the device's properties until it was unplugged and reconnected to a different USB port, which ALWAYS triggered a reinstall of the driver. I think the team eventually gave up on that piece of hardware and used a loaner Classmate to run their Driver Station for the rest of the event.
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 08: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