Thread: WATCHDOG!!
View Single Post
  #4   Spotlight this post!  
Unread 01-11-2010, 15:58
krudeboy51's Avatar
krudeboy51 krudeboy51 is offline
Only Programmer
AKA: kory
FRC #0369 (369)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2010
Location: brooklyn
Posts: 151
krudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of light
Send a message via AIM to krudeboy51
Re: WATCHDOG!!

Quote:
Originally Posted by EricVanWyk View Post
It sounds like the code that recharges your kicker is "blocking" - that is, it takes control and doesn't let other code execute while it is busy. You need to rewrite your kicker recharger so that it doesn't do this.

I'm guessing that when you first wrote the recharger, the watchdog would immediately trip and shutdown the robot... so you disabled it. Now you have unsafe robot!

Whenever you disable the watchdog because it finds an error, you are just giving yourself an extra problem and making the original error worse. I have yet to see an error where disabling the watchdog was the correct decision.
We basically disabled it because during build season, when we leave the robot on for a while it would show that the watchdog is not being fed. At that time we did not have this problem
Reply With Quote