Go to Post After all, if matches were determined by the numbers, we wouldn't need to have competitions. - jamierose [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-14-2009, 12:24 PM
darty darty is offline
Registered User
None #0204
 
Join Date: Jan 2009
Location: NJ
Posts: 9
darty is an unknown quantity at this point
Watchdog

We're allowed to compete with Watchdog set to disabled right? As in, we Opened it but used a false boolean for SetEnable.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-14-2009, 12:29 PM
Sentient's Avatar
Sentient Sentient is offline
Registered User
FRC #0639 (Code Red)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Ithaca
Posts: 21
Sentient is on a distinguished road
Re: Watchdog

That's probably not a good idea. I'm not sure about the rules, but if you're code messes up, you may end up with a heap of metal rather than a robot. Using Watchdog doesn't really require much work. Why would you not want to use it?
Reply With Quote
  #3   Spotlight this post!  
Unread 02-14-2009, 03:45 PM
darty darty is offline
Registered User
None #0204
 
Join Date: Jan 2009
Location: NJ
Posts: 9
darty is an unknown quantity at this point
Re: Watchdog

I'm just following orders, and I was told to ask if it was legal to have Watchdog disabled
Reply With Quote
  #4   Spotlight this post!  
Unread 02-14-2009, 04:11 PM
ringo115 ringo115 is offline
Registered User
FRC #1647
 
Join Date: Jan 2009
Location: New Jersey
Posts: 42
ringo115 is on a distinguished road
Re: Watchdog

what is the watchdog mode on the driver station, why does it forcefully switch to that, why does it go to 00.00 volts?!?!?!?!?!?!
Reply With Quote
  #5   Spotlight this post!  
Unread 02-14-2009, 04:28 PM
dboisvert dboisvert is offline
Registered User
AKA: Dan Boisvert
FRC #2405 (Divided by Zero)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Michigan
Posts: 57
dboisvert is an unknown quantity at this point
Re: Watchdog

Watchdog is a safety precaution so you dont have a runaway robot.

00.00v is reading your battery voltage and I am assuming you never hooked it up to channel 8 of the Analog Breakout.

I would suggest reading the manuals more closely
Reply With Quote
  #6   Spotlight this post!  
Unread 02-14-2009, 07:12 PM
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
  #7   Spotlight this post!  
Unread 02-15-2009, 03:34 PM
ringo115 ringo115 is offline
Registered User
FRC #1647
 
Join Date: Jan 2009
Location: New Jersey
Posts: 42
ringo115 is on a distinguished road
Re: Watchdog

what would happen if you were wrong and we did plug it in there
Reply With Quote
  #8   Spotlight this post!  
Unread 02-15-2009, 04:07 PM
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

Quote:
what would happen if you were wrong and we did plug it in there
I don't understand the question. Elaborate on plug it in there.

Greg McKaskle
Reply With Quote
  #9   Spotlight this post!  
Unread 02-16-2009, 09:11 AM
ringo115 ringo115 is offline
Registered User
FRC #1647
 
Join Date: Jan 2009
Location: New Jersey
Posts: 42
ringo115 is on a distinguished road
Re: Watchdog

im not a big expert on electrical stuff but i do know its plugged in correctly, because when we run the camera volts come up but any other time it does not
Reply With Quote
Reply


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 02-10-2007 08:05 PM


All times are GMT -5. The time now is 12:10 PM.

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