Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Occasionally losing robot code while enabled (http://www.chiefdelphi.com/forums/showthread.php?t=133830)

Lloydpro 01-02-2015 14:07

Occasionally losing robot code while enabled
 
We have been having this problem for a while now, but now that We have a working robot I want to get it fixed so that it doesn't happen during the competition. We get an unknown error statue at edu.wpi.first.wpilibj.hal.HALUtil.checkStatus(HALU til.java:51). Does anyone know what this error is, and if they do, what to do about it?

RufflesRidge 01-02-2015 14:10

Re: Occasionally losing robot code while enabled
 
Is there a more complete call stack or is that all the information you get?

Joe Ross 01-02-2015 14:10

Re: Occasionally losing robot code while enabled
 
There should be much more in the error message which would tell you at what line in your code it is occurring. Please copy and paste the entire message.

Lloydpro 01-02-2015 16:04

Re: Occasionally losing robot code while enabled
 
Quote:

Originally Posted by RufflesRidge (Post 1436984)
Is there a more complete call stack or is that all the information you get?

Well I can't seem to replicate the error, so perhaps that error log was from something else. It is still dropping code and coms for a second and then regaining it. I don't know if it's doing this because there's things in the code that aren't on the robot yet or what.

Lloydpro 01-02-2015 16:05

Re: Occasionally losing robot code while enabled
 
Quote:

Originally Posted by Joe Ross (Post 1436985)
There should be much more in the error message which would tell you at what line in your code it is occurring. Please copy and paste the entire message.

Can't seem to replicate the error. Still dropping code and coms for a second, and then regaining them.

RufflesRidge 01-02-2015 16:07

Re: Occasionally losing robot code while enabled
 
Quote:

Originally Posted by Lloydpro (Post 1437026)
Can't seem to replicate the error. Still dropping code and coms for a second, and then regaining them.

Does this happen when tethered or only on WiFi? Is there a specific period to it (the charts tab or log viewer may help here)?

Lloydpro 01-02-2015 16:12

Re: Occasionally losing robot code while enabled
 
Quote:

Originally Posted by RufflesRidge (Post 1437030)
Does this happen when tethered or only on WiFi? Is there a specific period to it (the charts tab or log viewer may help here)?

We have not done a lot of testing over a wired connection, so it is possible that there is something wrong with the wifi, however I would think that if something was wrong with the wifi then the coms light should shut off first. I have not checked the charts tab yet but I will do so and see if I see anything that could be out of the ordinary and I will get back to you ASAP.

Lloydpro 01-02-2015 16:41

Re: Occasionally losing robot code while enabled
 
Quote:

Originally Posted by RufflesRidge (Post 1437030)
Does this happen when tethered or only on WiFi? Is there a specific period to it (the charts tab or log viewer may help here)?

I looked at the tables and I think we are having packet loss problems. The original problem of losing code and coms for a second happens also when the robot is disabled, and the loss % graph spikes to 100 whenever we loose coms and code. Do you possibly know how to fix this?

RufflesRidge 01-02-2015 16:43

Re: Occasionally losing robot code while enabled
 
Quote:

Originally Posted by RufflesRidge (Post 1437030)
Is there a specific period to it (the charts tab or log viewer may help here)?

Can you please answer the question I posted above.

Lloydpro 01-02-2015 17:17

Re: Occasionally losing robot code while enabled
 
Quote:

Originally Posted by RufflesRidge (Post 1437050)
Can you please answer the question I posted above.

Sorry about that. It appears to be happening at the same point in the graph, approximately between 50 and 55 seconds into the 1m length.

RufflesRidge 01-02-2015 17:33

Re: Occasionally losing robot code while enabled
 
There are a few periods of around 1 min that have typically been traced to a WiFi driver. I would check if there are any updated drivers available or if the issue also occurs with another computer as the DS (this assumes that the issue doesn't happen when tethered).

You may also want to look for any type of update service that may be running.

Lloydpro 01-02-2015 17:35

Re: Occasionally losing robot code while enabled
 
Quote:

Originally Posted by RufflesRidge (Post 1437065)
There are a few periods of around 1 min that have typically been traced to a WiFi driver. I would check if there are any updated drivers available or if the issue also occurs with another computer as the DS (this assumes that the issue doesn't happen when tethered).

You may also want to look for any type of update service that may be running.

Alright. Ill check it out and see what I can do. Thanks for your help. Ill respond if I try all of the things that you suggested and none of them work.


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

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