Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Pneumatics (http://www.chiefdelphi.com/forums/forumdisplay.php?f=54)
-   -   NI Pneumatics Module "sputtering" (http://www.chiefdelphi.com/forums/showthread.php?t=82650)

Mark McLeod 16-02-2010 13:03

Re: NI Pneumatics Module "sputtering"
 
Does your defined function have a loop as part of it?

DanielForero 16-02-2010 21:36

Re: NI Pneumatics Module "sputtering"
 
We have the exact same problem and tried to fix it in many different ways.

Here are our results:

Disabled Camera Feed -> NO EFFECT
Hard Wired Robot (No WIFI) -> NO EFFECT
Increased Watchdog Timeout -> NO EFFECT
Installed Dashboard on Another Laptop -> NO EFFECT
Added a 10ms Wait Command in Teleop Code -> NO EFFECT
Updated Dashboard to most recent firmware -> SOME IMPROVEMENT

When we updated the dashboard, the "sputtering" did not happen as often, but it is still happening. We have spent well over 6 hours on this, to no prevail. Tomorrow we are going to try different methods of testing the network traffic, we have a feeling that the traffic is overwhelming hence the watchdog timeouts. We will keep you guys updated on our progress. Good luck to all teams!

Merle 17-02-2010 12:16

Re: NI Pneumatics Module "sputtering"
 
[quote=DanielForero;921654]We have the exact same problem and tried to fix it in many different ways.

Here are our results:

Disabled Camera Feed -> NO EFFECT
Hard Wired Robot (No WIFI) -> NO EFFECT
Increased Watchdog Timeout -> NO EFFECT
Installed Dashboard on Another Laptop -> NO EFFECT
Added a 10ms Wait Command in Teleop Code -> NO EFFECT
Updated Dashboard to most recent firmware -> SOME IMPROVEMENT
QUOTE]

How do you increase the watchdog timeout? I've tried looking lower and lower in the watchdog Vis but eventually hit a password protected block.

We have had instances of multiple watchdog timeouts, it is now occuring only with one to four timeouts per minute (noticable as the compressor spike toggles off for a fraction of a second). I've monitored our Classmate CPU usage and it is only at ~50% when the timeouts occur.

Merle Yoder
GRUNTS Team #3146
Granby, CT

Vikesrock 17-02-2010 12:36

Re: NI Pneumatics Module "sputtering"
 
Quote:

Originally Posted by Merle (Post 922056)
How do you increase the watchdog timeout? I've tried looking lower and lower in the watchdog Vis but eventually hit a password protected block.

The Watchdog expiration is wired in to the Watchdog Open VI. The default is .5 seconds.

DanielForero 17-02-2010 15:22

Re: NI Pneumatics Module "sputtering"
 
Yes, default is .5 seconds ... changing that does nothing in our case. By the way, i should point out that we're using C++...

ilmondo 18-02-2010 10:04

Re: NI Pneumatics Module "sputtering"
 
In our pneumatics code we have a case statement so its not exactly a loop, however ever since doing the updates the glitches happen even more frequently, so we have stripped everything out and are basically starting again with a new project.

The only one that seems to glitch is the solenoid we have open most of the time as it is there to "lock" our firing mechanism.

Ben

Mark McLeod 18-02-2010 11:18

Re: NI Pneumatics Module "sputtering"
 
If the User Watchdog is giving you too many problems, it can be disabled.
But it is probably warning of a portion of your code that is too slow and you may have other problems, such as, delayed responses because of it.


All times are GMT -5. The time now is 11:52.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi