View Single Post
  #5   Spotlight this post!  
Unread 11-02-2011, 14:34
Robby Unruh's Avatar
Robby Unruh Robby Unruh is offline
*insert random dial-up tone here*
FRC #3266 (Robots R Us)
Team Role: Coach
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Eaton, OH
Posts: 338
Robby Unruh will become famous soon enough
Re: Issue with autonomous mode and some newbie questions

Quote:
Originally Posted by professorX View Post
I thought the timer delay pauses the code. Since the motors weren't told to stop before the timer delay so it should continue straight for 3 seconds. And it should do it 10 times according the for loop.
I think the issue is that the watchdog is not being fed during the pause so the robot shuts down. Could this be the issue and how could it be fixed?
In autonomous, watchdog must be set to false.

Code:
Watchdog.getInstance().setEnabled(false);
Might be your problem.
__________________
[Robots R Us #3266]
2015: Georgia Southern Classic (Winners / Thanks 1319 & 1648!), Queen City
2014: Crossroads, Queen City
2013: Buckeye, Queen City, Crossroads
2012: Buckeye, Queen City

2011: Buckeye
2010: Buckeye
Reply With Quote