View Single Post
  #13   Spotlight this post!  
Unread 04-04-2010, 13:47
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,795
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: Feeding the Watchdog in "Periodic Tasks"

The Delay & Feed input is in seconds rather than milliseconds like Timer takes , so "20" should be ".02" and "100" should be .1.

Otherwise it looks reasonable.

P.S.
Just be sure your digital switches are wired NC (normally closed). If they are wired "normally open" (NO) you'll blow right through all your autonomous checks.

You'll also see a "Watchdog not fed" message at the end of all your drive & kick sequences, but that's after your autonomous code has run it's course and exited, so that message won't matter to you and can be ignored.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 04-04-2010 at 18:10. Reason: order of magnitude & NC
Reply With Quote