View Single Post
  #2   Spotlight this post!  
Unread 16-02-2010, 00:24
buddyb's Avatar
buddyb buddyb is offline
Registered User
FRC #1885 (ILITE)
Team Role: Programmer
 
Join Date: Dec 2009
Rookie Year: 2008
Location: Haymarket, VA
Posts: 65
buddyb has a spectacular aura aboutbuddyb has a spectacular aura aboutbuddyb has a spectacular aura about
Re: ? programming servos

If you're having problems with the watchdog, remember to feed it really often.

If your code cannot do this comfortably (see: Constant 'wait's), then do
Code:
GetWatchdog().SetEnabled(false);
in your teleoperated code. (If the Watchdog is not fed, it keeps most things from running on your robot. )

Please note that disabling it this takes a large layer of safety away from your robot, so try to keep your Watchdog enabled as often as you can...

Good luck getting Servos to work.
__________________
FRC - Team 1885 - Programmer.
Reply With Quote