Quote:
Originally Posted by professorX
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.