View Single Post
  #5   Spotlight this post!  
Unread 24-01-2010, 22:01
cmh0114 cmh0114 is offline
Registered User
AKA: Cam H
FRC #0217 (Thunderchickens)
Team Role: Alumni
 
Join Date: Jan 2009
Rookie Year: 2005
Location: Michigan
Posts: 61
cmh0114 will become famous soon enoughcmh0114 will become famous soon enough
Re: Watchdog Not Fed but, All Systems Are Go.

Try extending the Watchdog starvation period. After you enable the Watchdog, set the starvation period to a few hundred milliseconds. The period used to be measured in seconds, now it's measured in milliseconds. You have to make sure to feed the Watchdog before it times out. I think the default time out period is 100 milliseconds, but don't quote me on that. So, if the code between getWatchdog().setEnable(); and getWatchdog().Feed(); takes longer than 100 ms to execute, it will time out, so you'll need to give it a longer period.
Reply With Quote