Go to Post If I 'win' a trophy through an underhanded move, I lost. But if I 'lose' for doing the right thing, I won. - Molten [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 15-02-2010, 08: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,754
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: Need a Full "Watchdog for idiots" explanation

The real issue may be with the code you aren't asking about. Watchdog's are used to ensure that machinery or equipment the computer is supposed to control is being paid attention to often enough. If the computer doesn't do its job, the watchdog steps in and takes over the job, hopefully making things safer by turning off power. The FRC watchdog doesn't latch once it is thrown, so I believe what you are seeing is feeding that is way too slow.

The computer sets up the motors, then delays for a bit too long so the watchdog turns everything off. Then the code comes back, feeds, and the motors jerk back to their current settings, and then we repeat.

I don't recall seeing what mode the robot is in, but if it is teleop, this could likely be caused by putting vision or some other expensive task inside the robot Main or inside TeleOp. I think the best thing to do is post code you've modified, or pictures of the code.

Greg McKaskle
Reply With Quote
 


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
Hundreds of "Watchdog Expiration: System X" Errors lollypop2020 Programming 21 18-02-2010 09:52
Enabling yields one "Watchdog not fed" flash Dylan5019 Programming 4 12-02-2010 23:45
Help! Need a PAIR of 1.5" x 4" (to 6") cylinders, Bimba can't deliver kmcclary Pneumatics 1 12-02-2010 13:53
"watchdog not fed" error Lumit NI LabVIEW 8 04-02-2010 18:45
Need a "starter proposal" for new sponsor Robocat1 General Forum 1 09-05-2006 18:48


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

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