Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Technical Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=22)
-   -   Suddenly disabled?!? (http://www.chiefdelphi.com/forums/showthread.php?t=73351)

Mr. E 31-01-2009 16:36

Suddenly disabled?!?
 
Things were going smoothly, (for the most part,) so far during our building and programming. We successfully got the robot to move for two days in a row. The next step was to get the compressor working. (We already had the program with no errors, but it wasn't working when deployed.) I changed just one or two things in the compressor program and suddenly, our team light is blinking slowly which means it is disabled. The robot won't even drive now! We changed some things and nothing. So, we put everything back to the way it was, but the light is still blinking slowly and the robot won't drive. Can anyone offer some help? Any advise would be appreciated.

lynca 31-01-2009 19:12

Re: Suddenly disabled?!?
 
Quote:

Originally Posted by Mr. E (Post 811740)
Things were going smoothly, (for the most part,) so far during our building and programming. We successfully got the robot to move for two days in a row. The next step was to get the compressor working. (We already had the program with no errors, but it wasn't working when deployed.) I changed just one or two things in the compressor program and suddenly, our team light is blinking slowly which means it is disabled. The robot won't even drive now! We changed some things and nothing. So, we put everything back to the way it was, but the light is still blinking slowly and the robot won't drive. Can anyone offer some help? Any advise would be appreciated.

When you post you should be more descriptive of whats working and the status of your problem. When your refer to "light blinking slowly" is that the RSL light on the digital sidecar ?

If so , check the RSL light debug codes.
http://decibel.ni.com/content/docs/DOC-3120

If you are referring to RSL light, we had a similar problem today. We found that simply re-imaging the cRio was the only solution.

I'm curious how many teams are having to re-image when all else fails?

programMORT11 31-01-2009 21:36

Re: Suddenly disabled?!?
 
our robot had the same problem for a bit with the jaguars constantly remaining disabled even though we were in teleop and enabled, so we just checked it the router and adapter in the wireless settings, and once it connected in tethered and wireless, we pinged it and it worked fine. not sure why though

Mark McLeod 31-01-2009 23:10

Re: Suddenly disabled?!?
 
At first glance I'd say the symptoms point to a Watchdog failure.
Did you back out your changes or were you able to revert to a previously saved working version?

popo308 31-01-2009 23:21

Re: Suddenly disabled?!?
 
Quote:

Originally Posted by Mark McLeod (Post 811993)
At first glance I'd say the symptoms point to a Watchdog failure.
Did you back out your changes or were you able to revert to a previously saved working version?

We were having a similar problem... we reloaded the default code and it worked again, so we went back through the edited code and it turns out there was a watchdog issue.

Quote:

Originally Posted by lynca (Post 811852)
If you are referring to RSL light, we had a similar problem today. We found that simply re-imaging the cRio was the only solution.

I'm curious how many teams are having to re-image when all else fails?

Did you try reloading default code? We never had to re-image the RIO when this happen to us?!

Mr. E 02-02-2009 16:36

Re: Suddenly disabled?!?
 
Quote:

Originally Posted by Mark McLeod (Post 811993)
At first glance I'd say the symptoms point to a Watchdog failure.
Did you back out your changes or were you able to revert to a previously saved working version?

We were able to go back to a version that used to work. The team light would turn solid and we could drive it. However, now when we went back to that working version, the light blinks slow and it won't drive.

Mark McLeod 02-02-2009 17:38

Re: Suddenly disabled?!?
 
There are a few things that can cause these symptoms.

What does the Driver Station battery: status say? No Comms or No Code?
It sounds like the DS might be displaying No Code.

Mr. E 02-02-2009 18:46

Re: Suddenly disabled?!?
 
Quote:

Originally Posted by Mark McLeod (Post 812955)
There are a few things that can cause these symptoms.

What does the Driver Station battery: status say? No Comms or No Code?
It sounds like the DS might be displaying No Code.

It says No Comms. Should it not be saying either?

Mark McLeod 02-02-2009 20:43

Re: Suddenly disabled?!?
 
No Comms means that it isn't a code problem at all.
The Driver Station and cRIO cannot establish normal communications, so the cRIO isn't allowing your code to execute.

Try running the Pinger utility on your PC to see what it can see.

bomber7 02-02-2009 21:46

Re: Suddenly disabled?!?
 
(I use windriver)
Untrue, I have often gotten "No Comms" with a code error. (Instead of saying "No Code")

(All values are approx)
What I have noticied about the debug light:
You start your robot at 00s
10s Light turns on and is blinking
40s dashboard/Driverstation responds
40s Light blinking slows down
80s Light goes solid, robot begins operating

Previously I've messed up a define in such a way I attempted to use an undefined variable in the init of the robot. At 80s the robot light would turn off and the driverstation/dashboard would report No Comms.

The robot would then proceed to restart continously always coming online for a period of a few seconds before resulting in No Comms. It would always report No Comms with the light blinking slowly.

I've also had this problem when I tried to send too many tcp/ip packets at once. (Turns out trying to send 100 packets in less than a second blows up the cRIO =P)

Mark McLeod 02-02-2009 23:02

Re: Suddenly disabled?!?
 
Quote:

Originally Posted by bomber7 (Post 813093)
...The robot would then proceed to restart continously always coming online for a period of a few seconds before resulting in No Comms. It would always report No Comms with the light blinking slowly.

I've also had this problem when I tried to send too many tcp/ip packets at once. (Turns out trying to send 100 packets in less than a second blows up the cRIO =P)

You have the most interesting errors :rolleyes: :)

rwood359 03-02-2009 05:23

Re: Suddenly disabled?!?
 
I had a problem today where the DS and Dashboard showed enabled, but the DSC was showing a slow blink (disabled). It turns out that if your are using the camera and it is powered off or there is an comm problem, the DSC will be disabled. This happens while running also. A camera power or comm problem during a match will disable the robot. At least when it is started using the run arrow. I didn't have time to build and deploy a startup version to check that mode.

Mr. E 03-02-2009 13:59

Re: Suddenly disabled?!?
 
I'll try pinging the computer today after school. I'm almost positive that its a watchdog issue which means there's a connectivity problem or its not getting fed properly. I know how to test and trouble shoot for connectivity. How do I feed the watchdog? Reading the manual and other forums simply say that it has to be done. I know that its basically receiving a signal from other devices. How do I "feed it more?"

Joe Ross 03-02-2009 14:06

Re: Suddenly disabled?!?
 
Quote:

Originally Posted by Mr. E (Post 813431)
I'll try pinging the computer today after school. I'm almost positive that its a watchdog issue which means there's a connectivity problem or its not getting fed properly. I know how to test and trouble shoot for connectivity. How do I feed the watchdog? Reading the manual and other forums simply say that it has to be done. I know that its basically receiving a signal from other devices. How do I "feed it more?"

Does this help? http://decibel.ni.com/content/docs/DOC-2957

Mr. E 04-02-2009 09:48

Re: Suddenly disabled?!?
 
Yes and no....I've just about memorized the status light and we pretty much have a watchdog issue.

Mark McLeod 04-02-2009 09:56

Re: Suddenly disabled?!?
 
Lots and lots of ways to mess up that Watchdog.

Which development environment (Wind River or LabVIEW)?
What did you start from as a base (Advanced/Basic Framework, Simple Robot Template).

If you want to post a zip of your project, a second set of eyes will help.

Regardless of Bomber7's self-denial-of-service attacks against himself :) , the DS No Comms still bothers me as a failed Watchdog would produce a DS No Code error.
No Comms essentially means the DS Linux operating system cannot communicate with the cRIO VxWorks operating system. It should be outside our code unless we discover creative ways to crash the cRIO operating system.

Mr. E 05-02-2009 12:01

Re: Suddenly disabled?!?
 
Well, I fixed the problem by setting everything back to "factory specs." Reimaged the cRio, reinstalled update 3.0 for labview, even reupdated the firmware for the DS. I think its the reimaged cRio that actually fixed the solution. We'll have to build our code a little bit more carefully this time (smaller incremental steps) to trouble shoot what kind of changes tick my watchdog off.


All times are GMT -5. The time now is 02:55.

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