Go to Post Sometimes in discussions regarding rules or differences of opinion, the threads start feeling like a dog chasing its tail, going round and round. - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 01-02-2015, 14:07
Lloydpro Lloydpro is offline
Registered User
AKA: Jacob Beeman
FRC #3495 (Mindcraft)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Fresno, CA
Posts: 10
Lloydpro is an unknown quantity at this point
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2015, 14:10
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Occasionally losing robot code while enabled

Is there a more complete call stack or is that all the information you get?
Reply With Quote
  #3   Spotlight this post!  
Unread 01-02-2015, 14:10
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 01-02-2015, 16:04
Lloydpro Lloydpro is offline
Registered User
AKA: Jacob Beeman
FRC #3495 (Mindcraft)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Fresno, CA
Posts: 10
Lloydpro is an unknown quantity at this point
Re: Occasionally losing robot code while enabled

Quote:
Originally Posted by RufflesRidge View Post
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.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-02-2015, 16:05
Lloydpro Lloydpro is offline
Registered User
AKA: Jacob Beeman
FRC #3495 (Mindcraft)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Fresno, CA
Posts: 10
Lloydpro is an unknown quantity at this point
Re: Occasionally losing robot code while enabled

Quote:
Originally Posted by Joe Ross View Post
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 01-02-2015, 16:07
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Occasionally losing robot code while enabled

Quote:
Originally Posted by Lloydpro View Post
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)?
Reply With Quote
  #7   Spotlight this post!  
Unread 01-02-2015, 16:12
Lloydpro Lloydpro is offline
Registered User
AKA: Jacob Beeman
FRC #3495 (Mindcraft)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Fresno, CA
Posts: 10
Lloydpro is an unknown quantity at this point
Re: Occasionally losing robot code while enabled

Quote:
Originally Posted by RufflesRidge View Post
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.
Reply With Quote
  #8   Spotlight this post!  
Unread 01-02-2015, 16:41
Lloydpro Lloydpro is offline
Registered User
AKA: Jacob Beeman
FRC #3495 (Mindcraft)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Fresno, CA
Posts: 10
Lloydpro is an unknown quantity at this point
Re: Occasionally losing robot code while enabled

Quote:
Originally Posted by RufflesRidge View Post
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?
Reply With Quote
  #9   Spotlight this post!  
Unread 01-02-2015, 16:43
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Occasionally losing robot code while enabled

Quote:
Originally Posted by RufflesRidge View Post
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.
Reply With Quote
  #10   Spotlight this post!  
Unread 01-02-2015, 17:17
Lloydpro Lloydpro is offline
Registered User
AKA: Jacob Beeman
FRC #3495 (Mindcraft)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Fresno, CA
Posts: 10
Lloydpro is an unknown quantity at this point
Re: Occasionally losing robot code while enabled

Quote:
Originally Posted by RufflesRidge View Post
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.
Reply With Quote
  #11   Spotlight this post!  
Unread 01-02-2015, 17:33
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
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.
Reply With Quote
  #12   Spotlight this post!  
Unread 01-02-2015, 17:35
Lloydpro Lloydpro is offline
Registered User
AKA: Jacob Beeman
FRC #3495 (Mindcraft)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Fresno, CA
Posts: 10
Lloydpro is an unknown quantity at this point
Re: Occasionally losing robot code while enabled

Quote:
Originally Posted by RufflesRidge View Post
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.
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 11:20.

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