|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Watchdog Issues
Our watchdog says not fed as soon as it is enabled, weather we have .SetEnabled(true) or (false)
I'm pretty sure it is the DashboardDataFormat that is causing the error, I have taken the example numbers out and replaced them with gyro->GetAngle(); and stick1->GetX(); and now we have this problem. Any help? Update: By waiting at the beginning before enabling, we got the initial error to go away, it now only says watchdog not fed for around the first half a second(will this matter during competition?)must have been something with the camera... We still have the problem where it will say not fed every 2 seconds(which is what we have the watchdog timer set at). Also, we have edited the information in the DashboardDataFormat.cpp file, and use sendIOPortData and sendVisionData to send the data, i do not know if this uses the DashboardDataSender class Last edited by Kyledoo : 02-21-2010 at 01:48 PM. |
|
#2
|
||||
|
||||
|
Re: Watchdog Issues
We are having the same problem. Our watchdog times out even more though. We have tried diabling the watchdog and still get the same problem. Me and my dad think it is the system watchdog. Any one know how to fix it?
|
|
#3
|
|||
|
|||
|
Re: Watchdog Issues
Why are you posting in the WindRiver C++ subforum and the LabView subforum? These are two very different languages/IDEs.
|
|
#4
|
||||
|
||||
|
Re: Watchdog Issues
Yeah, I did a quick search and wasn't thinking at the time because I wanted to get it fixed. I realized that I posted in the wrong subforum and that is why I made a new thread.
|
|
#5
|
|||
|
|||
|
Re: Watchdog Issues
Yeah, for the time you are waiting for the camera to finish booting your code will operate EXTREMELY slowly. I think it's because WPILib is throwing errors constantly until the camera is working. Best thing I can come up with is to just wait for the camera feed to show up on the dashboard before enabling (assuming you call GetInstance on the camera during the robot constructor)
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Still having some watchdog issues | Lumit | NI LabVIEW | 47 | 03-27-2010 08:22 PM |
| Labview Watchdog issues | isaacdl | NI LabVIEW | 14 | 03-01-2010 03:26 PM |
| Autonomous Watchdog Issues | Rafael Vasquez | Programming | 3 | 01-28-2010 08:01 AM |
| Watchdog | darty | NI LabVIEW | 8 | 02-16-2009 09:11 AM |
| Watchdog | Barchechath | Programming | 6 | 02-10-2007 08:05 PM |