Thread: Watchdog
View Single Post
  #2   Spotlight this post!  
Unread 03-07-2010, 09:12 PM
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
Re: Watchdog

I noticed something similar in our code this weekend. It was when I would enable/disable into and out-of autonomous.

My fix was looking into what I was doing within the INIT and STOP cases of the Auton and TeleOp and Disabled VI's. You get one execution of either one, every time you enter/exit those VI's. Make sure you're not doing stuff in there that might take too long.

My problem was accessing resources that weren't present (i.e. when the camera or gyro wasn't connected). When I eliminated those references, my watchdog errors disappeared.
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics

Last edited by Ziaholic : 03-07-2010 at 09:14 PM.
Reply With Quote