Go to Post Wait hold the phone. Do you mean its physically possible to not spend time on robotics during the season?!!! Too much.......for brain......to compute!...goes against.....beliefs........aaaaarrrrrrghhhhhh!!! [syntax error] - BuddyB309 [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 21-02-2010, 13:14
Kyledoo Kyledoo is offline
Registered User
FRC #2603
 
Join Date: Jan 2010
Location: Ohio
Posts: 24
Kyledoo is an unknown quantity at this point
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 : 21-02-2010 at 13:48.
Reply With Quote
  #2   Spotlight this post!  
Unread 21-02-2010, 13:43
kgzak's Avatar
kgzak kgzak is offline
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
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?
Reply With Quote
  #3   Spotlight this post!  
Unread 21-02-2010, 14:42
dotbran dotbran is offline
Registered User
AKA: Brandon Olsen
FRC #3219 (TREAD)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Auburn, WA
Posts: 68
dotbran is on a distinguished road
Re: Watchdog Issues

Quote:
Originally Posted by kgzak View Post
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?
Why are you posting in the WindRiver C++ subforum and the LabView subforum? These are two very different languages/IDEs.
Reply With Quote
  #4   Spotlight this post!  
Unread 22-02-2010, 00:43
kgzak's Avatar
kgzak kgzak is offline
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
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.
Reply With Quote
  #5   Spotlight this post!  
Unread 24-02-2010, 00:31
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
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)
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
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
Still having some watchdog issues Lumit NI LabVIEW 47 27-03-2010 20:22
Labview Watchdog issues isaacdl NI LabVIEW 14 01-03-2010 15:26
Autonomous Watchdog Issues Rafael Vasquez Programming 3 28-01-2010 08:01
Watchdog darty NI LabVIEW 8 16-02-2009 09:11
Watchdog Barchechath Programming 6 10-02-2007 20:05


All times are GMT -5. The time now is 17:31.

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