Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=177)
-   -   Sporadic Drops of Robot Comms (http://www.chiefdelphi.com/forums/showthread.php?t=134663)

Mackenzie W 15-02-2015 21:14

Sporadic Drops of Robot Comms
 
1 Attachment(s)
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.

MrForbes 15-02-2015 21:16

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.

Mackenzie W 15-02-2015 21:44

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

Greg McKaskle 15-02-2015 22:00

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

Kevin Sevcik 15-02-2015 22:10

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.

Mackenzie W 15-02-2015 22:19

Re: Sporadic Drops of Robot Comms
 
Quote:

Originally Posted by Greg McKaskle (Post 1444744)
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 (Post 1444752)
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.

Alan Anderson 15-02-2015 23:22

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.

Mackenzie W 15-02-2015 23:44

Re: Sporadic Drops of Robot Comms
 
Quote:

Originally Posted by Alan Anderson (Post 1444796)
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.

Camilo86 16-02-2015 02:16

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.

Mackenzie W 16-02-2015 18:15

Re: Sporadic Drops of Robot Comms
 
Quote:

Originally Posted by Camilo86 (Post 1444909)
Unistalling autodesk from the laptop did the trick for us.

Quote:

Originally Posted by Mackenzie W (Post 1444816)
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.

Alan Anderson 16-02-2015 18:28

Re: Sporadic Drops of Robot Comms
 
Quote:

Originally Posted by Mackenzie W (Post 1445273)
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.

Ether 16-02-2015 19:07

Re: Sporadic Drops of Robot Comms
 
Quote:

Originally Posted by Mackenzie W (Post 1445273)
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




All times are GMT -5. The time now is 20:17.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi