Go to Post Don't worry about where you will be. Just consider youself lucky for being where you have been. - sanddrag [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
  #6   Spotlight this post!  
Unread 14-02-2009, 19:12
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,748
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: Watchdog

I'm not the rules expert, but in my opinion, you can disable the watchdog and still have a safe robot for competition. Here is why.

The system really has two watchdogs, each of which can shut down the I/O.

The primary watchdog, the system one, belongs to the communication system. It ensures that losing communications to the DS will stop the robot, and it ensures that disabling at the DS will stop the robot (by team or FMS). This watchdog alone is sufficient to make it safe in a competition. There is no way to turn this watchdog off and pass inspection.

The watchdog you are talking about is called the user watchdog, and its purpose is to recognize when your code isn't running loops where you update the I/O settings. Use it to feed the watchdog each time your controlling code goes through a loop that updates the most important I/O. This will protect the robot when your code hits a breakpoint in the development tools, and when the code locks up, crashes, or terminates the loop and stops controlling the I/O.

The user watchdog is probably most useful and important during development. My opinion on it is that if your robot is not on blocks, you should really use the watchdog. Some debugging is better done where the motors and I/O keeps going at a breakpoint. This is the primary reason the watchdog is allowed to be disabled, and clearly you want to be on blocks for that.

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
Watchdog Barchechath Programming 6 10-02-2007 20:05


All times are GMT -5. The time now is 16:03.

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