Go to Post Excuse me while I rant on your comment here a bit. - Andrew Remmers [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 25-02-2016, 13:22
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
Comm / No Comm; Little Consistency

Frequently getting no communications to robot.

Windows 10
Eclipse c++

I’m running all current FRC software versions as far as I could double-check.

It is sporadic, but I can reproduce the following:

-Booting everything up, I get comm fine.
-Power off / on the Robot.
-Reconnect laptop to the robot network
-DS gets no comm
-I can http to both the router and the roboRIO
-I stop / start the DS
-DS gets no comm
-I reboot the laptop
-DS gets comm just fine.

When DS has green comm, If is disconnect the wireless network, then reconnect the network the DS comm stays red.

What’s going on??

Many Thanks

Last edited by carrud : 25-02-2016 at 13:41. Reason: additional info
Reply With Quote
  #2   Spotlight this post!  
Unread 25-02-2016, 14:34
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: 357
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: Comm / No Comm; Little Consistency

Have you tried turning off the Windows firewall? Also, we switched our roboRio to a static IP to avoid mDNS issues. We put an entry for roboRIO-####-FRC.local into the development pc's hosts file. (replace #### with your team number). We will probably set our driver station to a static IP too for competition. The static IP was mainly so MAC and Linux computers could connect to it easily.
__________________
Brian K
Team 1225 Robotics Mentor
Reply With Quote
  #3   Spotlight this post!  
Unread 25-02-2016, 15:03
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: Comm / No Comm; Little Consistency

(I tried turning off Firewalls, no change)

I found the following. The reason I loose comm is because the mDNS fails to resolve.

- After rebooting laptop I get green comm
- DS, Eclipse, and Internet Explorer can resolve roboRIO-2637-FRC.local
- On laptop I disconnect from the robot network.
- On laptop I retconned to the robot network.
- At this point roboRIO-2637-FRC.local is not being resolved by Eclipse or Internet Explorer, and I expect that is the problem with the DS.

So it is mDNS?
Reply With Quote
  #4   Spotlight this post!  
Unread 25-02-2016, 15:22
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: 357
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: Comm / No Comm; Little Consistency

If you shift-click (or maybe just click) the down arrow next to the team number in the driver's station, that causes a new mDNS query to go out. See if there is anything listed there when it can't communicate. It should be all robot names detected on the network.

mDNS has caused issues in the past for us. That's why we switched to static. We think we know the ramifications of it.
__________________
Brian K
Team 1225 Robotics Mentor
Reply With Quote
  #5   Spotlight this post!  
Unread 25-02-2016, 15:29
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: Comm / No Comm; Little Consistency

The "click the down arrow" thing had no effect.
Reply With Quote
  #6   Spotlight this post!  
Unread 25-02-2016, 19:43
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,695
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: Comm / No Comm; Little Consistency

In a command window try:
ipconfig /flushdns
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 25-02-2016, 22:43
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,112
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: Comm / No Comm; Little Consistency

Disable IPv6? It's voodoo, but I've seen it help.
Reply With Quote
  #8   Spotlight this post!  
Unread 01-03-2016, 00:24
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: Comm / No Comm; Little Consistency

Hacked at this for days and could not find a fix for the root cause. I have circumvented this by moving to static IP on the roboRIO.

-Clark
Reply With Quote
  #9   Spotlight this post!  
Unread 01-03-2016, 07:13
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,695
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: Comm / No Comm; Little Consistency

Windows 10 has some non-compliant mDNS behavior.
For other people with Windows 10 installations just Disabling/Enabling the network connection has worked.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #10   Spotlight this post!  
Unread 01-03-2016, 09:03
Anthony Galea's Avatar
Anthony Galea Anthony Galea is offline
Formerly known as 3175student17
no team
Team Role: College Student
 
Join Date: Aug 2012
Rookie Year: 2013
Location: Riverview, Michigan
Posts: 583
Anthony Galea has a brilliant futureAnthony Galea has a brilliant futureAnthony Galea has a brilliant futureAnthony Galea has a brilliant futureAnthony Galea has a brilliant futureAnthony Galea has a brilliant futureAnthony Galea has a brilliant futureAnthony Galea has a brilliant futureAnthony Galea has a brilliant futureAnthony Galea has a brilliant futureAnthony Galea has a brilliant future
Re: Comm / No Comm; Little Consistency

Its really weird, the only way we have been able to connect to the new bridge wirelessly is by connecting via usb, wait until we have comms, connect to the bridge wirelessly, then disconnect the USB. Its really strange.
__________________
2013-2016: FRC 3175 Knight Vision, student
2014 Center Line District Finalists with 815 and 280
2016 Woodhaven District Winners with 3604 and 6116
2017-?: Rose-Hulman Institute of Technology
Reply With Quote
  #11   Spotlight this post!  
Unread 01-03-2016, 09:58
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,886
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: Comm / No Comm; Little Consistency

While this is bad advice for computers in general, If you are able to devote a computer to be your driver station...

Disable all automatic updates. Keep non DS specific software off the computer. Disable start up auto loaders for software that is installed on the computer. Only connect to the internet when required to download software or updates. Turn off the firewall. Try disabling the Ethernet adapters you are not using. Don't let the programmers watch little pony or cat videos on the DS computer.
__________________
If you don't know what you should hook up then you should read a data sheet
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 21:56.

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