Go to Post PS. Listen to the wise Brandon Martus. Think before you (re)act. - artdutra04 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 19-02-2010, 19:26
Lumit Lumit is offline
Registered User
FRC #2521
 
Join Date: Jan 2010
Location: Oregon
Posts: 26
Lumit is an unknown quantity at this point
Still having some watchdog issues

We just updated to LV2.1 and dashboard1.1, the documentation from NI said that this should solve the watchdog glitches. For us, it has helped, but not completely eliminated the problem, occasionally a solenoid will for a brief instant return to it's default position. On the dashboard we can see several watchdog timeouts.

This isn't a huge issue, it's fairly uncommon and doesn't affect the bot much. But it's a bit worrisome.

Anyone have any idea what else could be causing watchdog errors like this?

thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 19-02-2010, 19:38
Wolfgang Wolfgang is offline
Registered User
AKA: Mehmed
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Oct 2009
Rookie Year: 2010
Location: Denver
Posts: 47
Wolfgang is an unknown quantity at this point
Re: Still having some watchdog issues

This is a tough problem which my team had when it came to autonomous. Lots of our autonomous codes were not working because of the WatchDog. Mine was the only one that worked, and was the simplest one. Try making the code simpler.
My team's cheif programmer managed to fix one other code, but it was unclear how that was done, even to him.
Reply With Quote
  #3   Spotlight this post!  
Unread 19-02-2010, 20:39
Lumit Lumit is offline
Registered User
FRC #2521
 
Join Date: Jan 2010
Location: Oregon
Posts: 26
Lumit is an unknown quantity at this point
Re: Still having some watchdog issues

Quote:
Originally Posted by Wolfgang View Post
This is a tough problem which my team had when it came to autonomous. Lots of our autonomous codes were not working because of the WatchDog. Mine was the only one that worked, and was the simplest one. Try making the code simpler.
My team's cheif programmer managed to fix one other code, but it was unclear how that was done, even to him.
I think we're probably having different issues...
Ours is a problem for both autonomous and teleop, and it doesn't really cripple the code at all, it just will occasionally startle us with an unexpected solenoid twitch.

The only reason I'm at all worried about it, is that it could mess with our timing that prevents us from breaking the rules about movement outside of the bumper perimeter. (rule G30a)
Reply With Quote
  #4   Spotlight this post!  
Unread 20-02-2010, 09:54
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Still having some watchdog issues

The update fixed the issues we knew of with the watchdog, but this is one of those where until all contributing factors are accounted for, it isn't completely fixed for everyone. I'm working with a team who still sees the watchdog glitches. If you see any patterns, please let us know. My current theory has to do with the virus scanning, but I need to show the data to some other people, then figure out various ways of addressing it, etc.

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 22-02-2010, 06:26
asbplane asbplane is offline
Registered User
AKA: Alex Bush
FRC #2791 (Terminal Velocity)
Team Role: Engineer
 
Join Date: Oct 2009
Rookie Year: 2004
Location: Latham, NY
Posts: 2
asbplane is an unknown quantity at this point
Re: Still having some watchdog issues

Our Team is having the same problem. We simply turn the bot on in TeleOp and it will randomly cause the compressor to turn off for a split second and simultaneously cause all of our solenoids and pistons to twitch. We thought it might have been a watchdog error because we put the robot up on blocks and drove it forward for a while and we didn't notice any "ghost fires". Im guessing that perhaps when no one is touching the joysticks, the watchdog goes off. I can't say for sure though.
Reply With Quote
  #6   Spotlight this post!  
Unread 22-02-2010, 09:49
Merle Merle is offline
FRC Mentor, FLL Coach
FRC #3146 (GRUNTS)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Granby, CT
Posts: 42
Merle has a spectacular aura aboutMerle has a spectacular aura aboutMerle has a spectacular aura about
Re: Still having some watchdog issues

I want to point out to teams that are experiencing occasional watchdog timeouts and think it is not a big deal as they only see a short glitch for a fraction of a second, at a competition it becomes a HUGE deal... the field control system will shut your communications down between your operator controls and the robot on just one watchdog error - you will have a dead robot for the rest of the match - we saw this in multiple matches at the Suffield Scrimmage (Suffield HS, CT) where an official FIRST field control was used. I have a suspicion that control can be regained by restarting your dashboard program, but this would take a while and is not a very good option during a match.

We were able to resolve our watchdog errors by removing all excess code (LabView) that we were not using (such as camera, gyro, and solenoids that were programed, but attachments not yet made on our robot) and ran for a few matches without errors.

Greg - thanks for the lead on the virus scanning, I think we had it turned off, but I will look into this. For us it was usually System Watchdog errors, and I've monitored Classmate CPU usage to be 50-80% when errors occurred, and have seen it at 100% (while shutting down LabView when dashboard was running) but did not have errors occur then.

Merle Yoder
GRUNTS Team #3146
Reply With Quote
  #7   Spotlight this post!  
Unread 22-02-2010, 23:14
diviney diviney is offline
Registered User
FRC #2377
 
Join Date: May 2008
Location: Pasadena, MD
Posts: 43
diviney has a spectacular aura aboutdiviney has a spectacular aura aboutdiviney has a spectacular aura about
Re: Still having some watchdog issues

For the record, we too are struggling with what appear to be watchdog issues. They manifest themselves as lags both with control assertion and de-assertion. We have the latest updates applied, but it did not address the problems. We have stripped our code down and sprinkled watchdog triggers in the code. After reading the previous post, we are concerned that this will become a fatal problem when we get to see a real Field Control system in competition.

Any thoughts would be appreciated
Reply With Quote
  #8   Spotlight this post!  
Unread 23-02-2010, 01:32
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,517
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Still having some watchdog issues

Our situation:

We have 2 crios. One on the practice bot, one on the comp bot. We have been using the practice bot with no problems (no disables when we get the watchdog messages).

Today we wired up the comp board and put it on the comp bot. Before we connected the victors to the drive motors, we powered everything up and downloaded the code to confirm function.

Every time we see a new "watchdog expired" message, all the victors "blink" for a second. The odd part is, they don't blink to disabled. Somestime they blink to red, sometimes to green... the blink is 100% irregular. We tried a new battery, rewired all the power wires to confirm no clamping on insultation, wiggled every circuit on the board to attempt to isolate the problem, unplugged every pwm except one and still had the problem on that one.

We just went through and reimaged to the newest image last night, plus the newest DS, and we're going to try tomorrow again before ship. However, I found it very odd that with the same code and the same DS the Crio's are acting differently, one blinking the victors during the watchdog expires and one not.
Reply With Quote
  #9   Spotlight this post!  
Unread 23-02-2010, 02:18
Lumit Lumit is offline
Registered User
FRC #2521
 
Join Date: Jan 2010
Location: Oregon
Posts: 26
Lumit is an unknown quantity at this point
Re: Still having some watchdog issues

Quote:
Originally Posted by Merle View Post
I want to point out to teams that are experiencing occasional watchdog timeouts and think it is not a big deal as they only see a short glitch for a fraction of a second, at a competition it becomes a HUGE deal... the field control system will shut your communications down between your operator controls and the robot on just one watchdog error - you will have a dead robot for the rest of the match - we saw this in multiple matches at the Suffield Scrimmage (Suffield HS, CT) where an official FIRST field control was used. I have a suspicion that control can be regained by restarting your dashboard program, but this would take a while and is not a very good option during a match.
NOT GOOD!
After Greg's post, we just decided we'd have to live with it. Tomorrow is ship day, we have no testbed.
I guess we'll have to pray for a miracle on unpack/practive day! :/

Maybe it's the cRio version? We just imaged the only version that showed up on the list of options, are there more?

EDIT: As for dumping bits of the code, we are using everything except the periodic tasks loop... Do you have any idea what part of the code it is? Maybe the camera feed is causing a delay or something?

Last edited by Lumit : 23-02-2010 at 02:45.
Reply With Quote
  #10   Spotlight this post!  
Unread 23-02-2010, 08:01
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Still having some watchdog issues

I do not believe that a watchdog occurrence will cause a robot to be disabled for remainder of a match. The FMS really doesn't even know whether the robot is watchdogged or not. Can anyone confirm this? Were there other circumstances such as an FTA disabling the robots?

Greg McKaskle
Reply With Quote
  #11   Spotlight this post!  
Unread 23-02-2010, 16:19
JoeyTNT280's Avatar
JoeyTNT280 JoeyTNT280 is offline
Scouting
AKA: Joey
FRC #0280 (TnT)
Team Role: Programmer
 
Join Date: Apr 2009
Rookie Year: 2008
Location: Taylor Michigan
Posts: 46
JoeyTNT280 is an unknown quantity at this point
Send a message via AIM to JoeyTNT280
Re: Still having some watchdog issues

Still having the same issues. Even with a code without any timing. This error is causing our robot to disable pretty rapily sometimes and then slowly others. We believe that this error will affect our on field piloting.
__________________


Programming
Scouting
Pnuematics

TnT 280 Robotics
Reply With Quote
  #12   Spotlight this post!  
Unread 23-02-2010, 20:33
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Still having some watchdog issues

If you are still having issues with watchdogs, please unplug the I/O module and determine what effect this has. We are still investigating the cause, but it appears that in some setups, the I/O board can cause excessive driver activity which can delay the loop execution and lead to a system watchdog.

Please post one way or the other as to whether this has an impact. Also, it may be useful to test with a different I/O module, different USB cable, etc.

Greg McKaskle
Reply With Quote
  #13   Spotlight this post!  
Unread 23-02-2010, 20:39
kws4000's Avatar
kws4000 kws4000 is offline
Team Mentor - Programming
AKA: Krazy Karl
FRC #2405 (Divided by Zero)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Fruitport, MI
Posts: 164
kws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the rough
Re: Still having some watchdog issues

we are also having watchdog issues. we have two fisher-prices on 2 seperate relays, both 20 amp. when tring to run them with a heavy load, we either blow the spike fuse, or we get a watchdog error. the compressor is also stuttering, also because of watchdog.

under diagnostics, DS:
"Watchdog Expiration: System XX, User YY" where XX and YY are disconnected numbers that only go up or stay the same.
__________________
Mentoring:
1) Educating students on the ability to learn and have fun at the same time.
2) Giving back to those who made you who you are.

2009-2011 Student 2405 Electrical/Programming & Asst. Captain
2012-???? Mentor 2405 Programming/Jack-of-all-Trades
Reply With Quote
  #14   Spotlight this post!  
Unread 23-02-2010, 22:34
Lumit Lumit is offline
Registered User
FRC #2521
 
Join Date: Jan 2010
Location: Oregon
Posts: 26
Lumit is an unknown quantity at this point
Re: Still having some watchdog issues

Greg,
Quote:
If you are still having issues with watchdogs, please unplug the I/O module and determine what effect this has.
You are referring to the circuit-board like thing that is plugged into the classmate with a usb cable, correct? Our team decided not to use it at all.

Quote:
I do not believe that a watchdog occurrence will cause a robot to be disabled for remainder of a match. The FMS really doesn't even know whether the robot is watchdogged or not. Can anyone confirm this? Were there other circumstances such as an FTA disabling the robots?
Could you possibly find out for 100% sure? My team certainly can't afford to be caught off-guard by this, it would take us out of the competition and waste all of our hard work.
Where can we learn more about the FMS? (that is the name for the central control?)
Reply With Quote
  #15   Spotlight this post!  
Unread 23-02-2010, 22:42
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Still having some watchdog issues

Quote:
Originally Posted by Lumit View Post
Could you possibly find out for 100% sure? My team certainly can't afford to be caught off-guard by this, it would take us out of the competition and waste all of our hard work.
Where can we learn more about the FMS? (that is the name for the central control?)
The FMS won't disable you whenever your User Watchdog goes off. It doesn't even know when it happens, nor care. That's a "user issue" to it.

What FMS responds to is that Stop button. On the real field the E-stop button is quite a bit more robust and hitting that WILL disable your robot for the remainder of a match.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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
Labview Watchdog issues isaacdl NI LabVIEW 14 01-03-2010 15:26
Autonomous Watchdog Issues Rafael Vasquez Programming 3 28-01-2010 08:01
Still more watchdog trouble ringo115 NI LabVIEW 3 16-02-2009 10:44
pic: Having some fun... CD47-Bot Extra Discussion 2 07-03-2003 20:49
Are you still having fun? Madison General Forum 29 15-02-2003 22:24


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

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