View Single Post
  #3   Spotlight this post!  
Unread 20-03-2010, 20:19
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,744
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Autonomous independent-watchdog errors

Quote:
Originally Posted by ewoodring View Post
I get error messages in the message window in the Diagnostics tab on the Driver Station that say "Watchdog expired: system #, user #." Is there anything in code I have to change to fix this?
It depends.
A few of these messages are normal and may not affect your robot operation.
The # is a count of how many of each have occurred and of which type of Watchdog (system vs. user).
  • You'll usually see momentary system Watchdogs at mode transistions, e.g., Disabled -> Auto -> Teleop -> Disabled. Those are nothing to worry about.
  • User Watchdogs are common when your autonomous code finishes and exits, but seeing them in Teleop or while Auto is supposed to be running is a problem in your code.
In the lower left of the Driver Station screen are you seeing a persistent message of "Watchdog not Fed?"

That message will occur if you are not currently running any autonomous code at all, for instance, if it has already completed and exited or if you have bypassed all auto code. The default Autonomous Independent will generate this Watchdog, since after it completes it's assignment it just exits and the Watchdog goes unfed.
The Watchdog message is not a problem if no code is supposed to be running.
In this case, when Teleop code begins to execute, it will resume feeding the Watchdog and the message will go away.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 20-03-2010 at 20:30.
Reply With Quote