Go to Post If you have an opinion on something, it often says more about you than it does that thing. - JVN [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-02-2010, 11:38
Dawl Dawl is offline
Registered User
FRC #2549 (Millerbots)
Team Role: Programmer
 
Join Date: Apr 2009
Rookie Year: 2009
Location: Minneapolis
Posts: 5
Dawl is an unknown quantity at this point
Watch Dog not fed?

My team and I are trying to get our autonomous working. After we upload code and enable in autonomous mode it give the error "Watch Dog not fed". What does that mean. If you could point us toward another thread or give us any help we appreciate it.

thanks
  #2   Spotlight this post!  
Unread 13-02-2010, 12:34
Dawl Dawl is offline
Registered User
FRC #2549 (Millerbots)
Team Role: Programmer
 
Join Date: Apr 2009
Rookie Year: 2009
Location: Minneapolis
Posts: 5
Dawl is an unknown quantity at this point
Re: Watch Dog not fed?

bump
  #3   Spotlight this post!  
Unread 13-02-2010, 12:47
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Watch Dog not fed?

If the robot works fine in teleop, it likely means that the autonomous code completes and is no longer looping, feeding the watchdog.

If you place a target in front of the robot, slightly off to one side, the default will rotate to face the target. The comments in the sample code may help guide you towards completing the routine.

Greg McKaskle
  #4   Spotlight this post!  
Unread 13-02-2010, 12:50
EthanMiller EthanMiller is offline
Lead Programmer
AKA: Socks
FTC #4356 (The Zip Ties)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Clayton, NY
Posts: 121
EthanMiller has a spectacular aura aboutEthanMiller has a spectacular aura aboutEthanMiller has a spectacular aura about
Re: Watch Dog not fed?

If you can find where it stops, you just need to feed the watchdog there. In java, it's done like this:
Code:
Watchdog.getInstance().feed();
__________________
When all else fails, read the manual.

FRC 1713 K Island Gears 2009, 2010 (Not 2011 due to budget, hopefully 2012!) - Fingerlakes Regional

FTC 4356 The Zip Ties 2010-2011 Season - NNYRC (2010 9th seed).
  #5   Spotlight this post!  
Unread 13-02-2010, 13:02
Dawl Dawl is offline
Registered User
FRC #2549 (Millerbots)
Team Role: Programmer
 
Join Date: Apr 2009
Rookie Year: 2009
Location: Minneapolis
Posts: 5
Dawl is an unknown quantity at this point
Re: Watch Dog not fed?

After further testing it seems to take about 15 seconds before the watchdog gets fed. After that happens the autonomous works fine. Anyone know what causes the delay or how to get rid of it.
  #6   Spotlight this post!  
Unread 13-02-2010, 13:03
EthanMiller EthanMiller is offline
Lead Programmer
AKA: Socks
FTC #4356 (The Zip Ties)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Clayton, NY
Posts: 121
EthanMiller has a spectacular aura aboutEthanMiller has a spectacular aura aboutEthanMiller has a spectacular aura about
Re: Watch Dog not fed?

Are you using Autonomous independent or iterative?
__________________
When all else fails, read the manual.

FRC 1713 K Island Gears 2009, 2010 (Not 2011 due to budget, hopefully 2012!) - Fingerlakes Regional

FTC 4356 The Zip Ties 2010-2011 Season - NNYRC (2010 9th seed).
  #7   Spotlight this post!  
Unread 13-02-2010, 13:12
dona klarson dona klarson is offline
Registered User
no team
 
Join Date: Jan 2010
Location: ISRAEL
Posts: 5
dona klarson is an unknown quantity at this point
Re: Watch Dog not fed?

hello we r team 1946
we had the same issue but we realized that we made the mistack of putting our code before the
PHP Code:
Watchdog.getInstance().feed(); 
so make sure the whatchdog is the first function in the class
Team1946
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Watchdog not fed brianelite C/C++ 12 14-03-2010 14:43
Autonomous Independent Code Issue Watchdog not fed pilum40 FRC Control System 0 11-02-2010 12:00
Watchdog Not Fed but, All Systems Are Go. DHSrobotics Java 4 24-01-2010 22:01
Watchdog not fed ahudson Programming 1 22-01-2010 11:26
Driver Station Watch Dog / Motor Won't Spin Issue RMiller FRC Control System 5 20-01-2009 09:58


All times are GMT -5. The time now is 21:22.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi