View Single Post
  #6   Spotlight this post!  
Unread 22-01-2011, 23:23
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: Watch Dog stopping robot from working?

The Framework this year behaves a little differently than last year. There is a new type of "Watchdog" hidden within the Arcade/Tank/Holonomic Drive vis.
It's optional, but enabled by default.
If you want to change it (enable/disable) you do so in Begin.vi inside the Open 2 Motor or Open 4 Motor vis.

The way it now works is the drive motors will shutdown if you don't call Arcade/Tank/Holonomic Drive within every .1 seconds.
It is no longer "set it and leave it"

If you suffer from this you will see this error message on the Diagnostics tab error window:
ERROR <Code> -44061 occurred at "Left and Right Motors" in the VI path: Robot Main.vi
<time>23:15:45 01/21/2011
FRC: The loop that contains RobotDrive is not running fast enough.
This error can occur if the loop contains too much code, or if one or
more other loops are starving the RobotDrive loop.
If you think you code should be setting the Drive quickly every iteration, then you may have sluggish code of a long loop that is keeping you from leaving the vi.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 23-01-2011 at 10:24.
Reply With Quote