![]() |
Robot Losing Connection
We recently started having an issue where we would lose all communication with the robot over wifi. Downloading code over wifi works but when we start driving around or just have it enabled, the communication and robot code light will randomly shut off then come back on at random times for less than a second then shut off again.
The only way we can reconnect to it is to shut off the robot and restart. However, this is becoming an issue because it is starting to happen frequently. I have reconfigured the bridge and it fixed the issue for about an hour then it starts happening again. |
Re: Robot Losing Connection
The charts tab may give more info on what is happening. Pay attention to the CPU usage, the lag and the packet loss.
By the way, for historical runs, go to the charts tab and launch the viewer. It is also in the Start menu. Perhaps you want to post an image of the chart that shows the issues. Greg McKaskle |
Re: Robot Losing Connection
Are you in an area with a lot of wifi access points?
|
Re: Robot Losing Connection
Quote:
|
Re: Robot Losing Connection
That probably means either that your robot code is running too slowly somewhere and blocking execution, or conversely too fast and sucking up all the CPU.
As a first diagnostic look at your event log and pay particular attention to the CPU utilization line. As a second diagnostic look at the Driver Station Diagnostics window for repeating error messages. |
Re: Robot Losing Connection
So I believe I might have figured out the issue. Since we are using 6 cims on our robot, when we go full speed, the amperage caused by the cims could be causing the radio to go bad. I am going to write some code that prevents the motors from instantly going to full power. Instead, it will accelerate to it. Will post back if it works.
|
Re: Robot Losing Connection
Quote:
|
Re: Robot Losing Connection
Quote:
|
Re: Robot Losing Connection
The easiest thing to check right now is the power wiring to your D-Link. Make sure it's done as follows:
dedicated 12v output on Power Distribution Board (white Wago plug) to red and black wires on 12v-to-5v converter module yellow and black wires on 12v-to-5v converter module to D-Link 5v power input Any other wiring scheme will potentially cause the D-Link to lose power when the battery voltage sags. |
| All times are GMT -5. The time now is 20:06. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi