Go to Post Mike Wade was the Fall offseason guy. - Michael Leicht [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 15-02-2015, 21:14
Mackenzie W Mackenzie W is offline
Registered User
FRC #1305 (NNSRI)
Team Role: Leadership
 
Join Date: Jan 2014
Rookie Year: 2006
Location: North Bay, Ontario
Posts: 23
Mackenzie W is on a distinguished road
Exclamation Sporadic Drops of Robot Comms

My team is posting here after spending a fair amount of time troubleshooting this issue, any help would be appreciated.

Our issue presents as a half second or more drop in communications with the robot, with the Driver Station flickering to no connection and then back to enabled and driving. This loss results in the robot abruptly stopping, risking damage to itself and possibly dropping whatever load it might be carrying.

During this time the logs show major packet loss without a complete disconnect, with only voltage not registering. The error that accompanies it is:
Info
Communications Timeout: # Input Voltage
Brownouts: 0.

The number appears to be the amount of times it has happened during that match. So far the most we've had is 21 times in 5 minutes.

We've so far replaced the router+power cable+Ethernet cable, VRM, attempted tethering directly and wirelessly, and had no luck.

We looked at the packets being transferred with Wireshark and found that we were having packet re-transmissions from the RoboRIO and then had the laptop read Duplicate Acquisition on said packets, 0.8 seconds before the DS log registered the Communications Timeout.

We haven't been able to find anything at all about this type of error in the Driver Station log, can anyone give us any recommendations on further steps?

Thanks! I have attached both an example driverstation log and Wireshark log for the error, the duplicate transmission occurs at packet #19160.


**We've noticed that the mode LED on the RoboRIO shuts off when we lose these packets. That's standard for disconnects normally, doesn't help us much though. We've tried both our code and sample code.
Attached Files
File Type: zip 1305 Wireless Issue.zip (450.4 KB, 9 views)

Last edited by Mackenzie W : 15-02-2015 at 23:11.
Reply With Quote
  #2   Spotlight this post!  
Unread 15-02-2015, 21:16
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 6,016
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: Sporadic Drops of Robot Comms

It might help to know some more about the condidtions under which this happens. Is it in a room with little other wireless stuff? or at a scrimmage with lots of other robots?

Also a picture of your robot, showing the location of the radio, might help others help you figure out the source of the problem.
Reply With Quote
  #3   Spotlight this post!  
Unread 15-02-2015, 21:44
Mackenzie W Mackenzie W is offline
Registered User
FRC #1305 (NNSRI)
Team Role: Leadership
 
Join Date: Jan 2014
Rookie Year: 2006
Location: North Bay, Ontario
Posts: 23
Mackenzie W is on a distinguished road
Re: Sporadic Drops of Robot Comms

The conditions have been just us practicing with no other robots enabled nearby, in a college with no other wifi connections on our channel. But we've also tried a tethered connection as well which should have bypassed any issues that might've been caused by surrounding connections.

As for our robot, I've linked a few pictures of both it and the wifi channels.

http://i.imgur.com/6bPI5rS.jpg

http://i.imgur.com/QbVPq1X.jpg

http://i.imgur.com/3FrGvBa.jpg

http://i.imgur.com/ESsNNu6.png
Reply With Quote
  #4   Spotlight this post!  
Unread 15-02-2015, 22:00
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,752
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: Sporadic Drops of Robot Comms

If your radio has selected channel 7 and there is significant traffic on 6, you will wind up with quite a bit of interference. I also saw this at a local school. They took the camera off of auto channel select and set it to channel 1 and it worked much better.

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 15-02-2015, 22:10
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,708
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Sporadic Drops of Robot Comms

We're having a similar problems. I'm too busy with work to help with the troubleshooting, but I'll point my programmer at this thread. We've only tried wireless so far, so I'll have them try wired tether tomorrow, as well as switching wireless channels.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #6   Spotlight this post!  
Unread 15-02-2015, 22:19
Mackenzie W Mackenzie W is offline
Registered User
FRC #1305 (NNSRI)
Team Role: Leadership
 
Join Date: Jan 2014
Rookie Year: 2006
Location: North Bay, Ontario
Posts: 23
Mackenzie W is on a distinguished road
Re: Sporadic Drops of Robot Comms

Quote:
Originally Posted by Greg McKaskle View Post
If your radio has selected channel 7 and there is significant traffic on 6, you will wind up with quite a bit of interference. I also saw this at a local school.
Greg McKaskle
If we were using a tether though, would wireless traffic impact the communication? I'm not too familiar on the intricacies of wi-fi, but I thought that was why we use tethers at events.

Quote:
Originally Posted by Kevin Sevcik View Post
We're having a similar problems. I'm too busy with work to help with the troubleshooting, but I'll point my programmer at this thread. We've only tried wireless so far, so I'll have them try wired tether tomorrow, as well as switching wireless channels.
See if you can find a specific error in your driver station logs, they normally shed some light on what the cause may be.
Reply With Quote
  #7   Spotlight this post!  
Unread 15-02-2015, 23:22
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: Sporadic Drops of Robot Comms

Is there a background process running on your Driver Station computer that might be causing problems? Look for something like an auto-updater task.
Reply With Quote
  #8   Spotlight this post!  
Unread 15-02-2015, 23:44
Mackenzie W Mackenzie W is offline
Registered User
FRC #1305 (NNSRI)
Team Role: Leadership
 
Join Date: Jan 2014
Rookie Year: 2006
Location: North Bay, Ontario
Posts: 23
Mackenzie W is on a distinguished road
Re: Sporadic Drops of Robot Comms

Quote:
Originally Posted by Alan Anderson View Post
Is there a background process running on your Driver Station computer that might be causing problems? Look for something like an auto-updater task.
We've had this happen on three separate laptops, one of which was mostly clean. We'll look for a common program between them just in case.
Reply With Quote
  #9   Spotlight this post!  
Unread 16-02-2015, 02:16
Camilo86's Avatar
Camilo86 Camilo86 is offline
Registered User
AKA: camilo
FRC #0125 (Nutrons)
Team Role: Programmer
 
Join Date: Jun 2013
Rookie Year: 2012
Location: Boston
Posts: 21
Camilo86 is a glorious beacon of lightCamilo86 is a glorious beacon of lightCamilo86 is a glorious beacon of lightCamilo86 is a glorious beacon of lightCamilo86 is a glorious beacon of lightCamilo86 is a glorious beacon of light
Re: Sporadic Drops of Robot Comms

We had an issue with our driver station dropping packages as well a couple days ego. Turns out AutoDesk updater was trying to connect to the Internet every 10 seconds or so causing us to lose comms with the robot. Unistalling autodesk from the laptop did the trick for us.
Reply With Quote
  #10   Spotlight this post!  
Unread 16-02-2015, 18:15
Mackenzie W Mackenzie W is offline
Registered User
FRC #1305 (NNSRI)
Team Role: Leadership
 
Join Date: Jan 2014
Rookie Year: 2006
Location: North Bay, Ontario
Posts: 23
Mackenzie W is on a distinguished road
Re: Sporadic Drops of Robot Comms

Quote:
Originally Posted by Camilo86 View Post
Unistalling autodesk from the laptop did the trick for us.
Quote:
Originally Posted by Mackenzie W View Post
We'll look for a common program between them just in case.
After going through four laptops, we haven't found a common updater. Only one laptop which has quite a few installations actually has a steady connection, whereas our dedicated Driver Station Laptop and two programming laptops do not. We're still stuck, and unsure how to determine if it is one of the few installations on these laptops.
Reply With Quote
  #11   Spotlight this post!  
Unread 16-02-2015, 18:28
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: Sporadic Drops of Robot Comms

Quote:
Originally Posted by Mackenzie W View Post
We're still stuck, and unsure how to determine if it is one of the few installations on these laptops.
Use the Task Manager. If you can't identify anything obvious, start shutting things down. Either you'll eventually find one that clears up the communication, or you'll kill the whole computer and have to reboot.
Reply With Quote
  #12   Spotlight this post!  
Unread 16-02-2015, 19:07
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,098
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Sporadic Drops of Robot Comms

Quote:
Originally Posted by Mackenzie W View Post
After going through four laptops, we haven't found a common updater. Only one laptop which has quite a few installations actually has a steady connection, whereas our dedicated Driver Station Laptop and two programming laptops do not. We're still stuck, and unsure how to determine if it is one of the few installations on these laptops.
These are useful tools to view, suspend, or kill running processes (Process Explorer) and to view and disable startup processes (autoruns):

https://technet.microsoft.com/en-us/...rnals/bb963902

https://technet.microsoft.com/en-us/...rnals/bb896653


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 05:33.

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