|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
WATCHDOG!!
Is it safe to set the watchdog expiration to 2 minuites and 15 seconds??
|
|
#2
|
||||
|
||||
|
Re: WATCHDOG!!
If that's the case you might as well just disable it.
|
|
#3
|
||||
|
||||
|
Re: WATCHDOG!!
I did, but set turned on because when ever our robot kicks, and I recharge it while driving, it will go out of control untill the robot is fully charge, so if we were going forward the robot will keep going forward untill the kicker is fully recharged. so I am wondering if it has to do with the fact that the watchdog is disabled
|
|
#4
|
|||
|
|||
|
Re: WATCHDOG!!
Quote:
I'm guessing that when you first wrote the recharger, the watchdog would immediately trip and shutdown the robot... so you disabled it. Now you have unsafe robot! Whenever you disable the watchdog because it finds an error, you are just giving yourself an extra problem and making the original error worse. I have yet to see an error where disabling the watchdog was the correct decision. |
|
#5
|
||||
|
||||
|
Re: WATCHDOG!!
Quote:
|
|
#6
|
||||
|
||||
|
Re: WATCHDOG!!
I'm guessing that you're trying to use a loop of some sort in your recharge code.
Loops are not necessary 99% of the time in coding FIRST robots - after all the code already loops at between 20hz and 50hz. Loops monopolize the processor and will not allow it to move on and "feed the watchdog", unless of course your feed statement is inside the loop. |
|
#7
|
||||
|
||||
|
Re: WATCHDOG!!
Quote:
|
|
#8
|
||||
|
||||
|
Re: WATCHDOG!!
Hence forth to be known and the VanWyk Axiom
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Watchdog | kgzak | NI LabVIEW | 6 | 03-10-2010 03:36 PM |
| Watchdog Issues | Kyledoo | C/C++ | 4 | 02-24-2010 12:31 AM |
| Watchdog!?!?!?! | NC GEARS | General Forum | 38 | 01-23-2010 08:52 AM |
| Watchdog | darty | NI LabVIEW | 8 | 02-16-2009 09:11 AM |
| Watchdog | Barchechath | Programming | 6 | 02-10-2007 08:05 PM |