Go to Post last year I wanted to electrically charge our frame, then cover the whole bot in tape and say it was for insulating purposes. Then I settled down and read the rule book. - russell [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 27-02-2010, 14:46
LyraS LyraS is offline
Registered User
FRC #2102
 
Join Date: Jan 2010
Location: California
Posts: 6
LyraS is an unknown quantity at this point
Vexing bug (possibly system watchdog related?)

We have a problem with our robot.

The symptoms are: every 30 seconds, or so, all the motors, servos and solenoids on our robot turn on and off for about 100-500 ms. This happens repeatedly over a 2-3 second interval, after which everything is fine for another 30 seconds - 1 minute (and then the whole sequence repeats).

When this "chatter" occurs, we get "Watchdog not feed" warnings on the driver station.

We get this same problem when using the out-of-the-box SimpleRobot sample code in WindRiver.

It happens with a much simpler program (<50 line and no Watchdog object instantiated at all). The program is attached.

It happens on multiple cRios.

It happens even if we raise our Task Priority to 1.

It happens if we simply set a motor running and then go into a Wait state for 10 minutes.

We've had this problem for quite a while (months) over multiple cRio image version, versions of wpilib, etc.

We are running out of ideas on debugging this. Any help would be greatly appreciated!

Thanks,

Geoff
Attached Files
File Type: cpp Source1.cpp (1.5 KB, 38 views)
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
Problem with System Watchdog JSonntag NI LabVIEW 14 20-02-2010 11:31
Hundreds of "Watchdog Expiration: System X" Errors lollypop2020 Programming 21 18-02-2010 09:52
cRIO system watchdog kamocat NI LabVIEW 2 30-10-2009 23:53
System: Watchdog problems dboisvert C/C++ 7 16-02-2009 02:36
System: Watchdog problems dboisvert C/C++ 1 15-02-2009 20:12


All times are GMT -5. The time now is 13:49.

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