View Single Post
  #2   Spotlight this post!  
Unread 12-02-2010, 14:37
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,801
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: Watchdog Problem

The Autonomous Independent code shuts itself down if it cannot see the target right away. When it shuts down you get the Watchdog msg.

Independent uses Delay & Feed, because once control enters the While loop it can stay there for awhile and the Wathchdog needs to be delayed so it doesn't expire and stop everything.

Iterative only needs Feed, because it executes just once and then leaves. It gets called over and over again and will feed the Watchdog each time while Independent only gets called one time.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle