Quote:
Originally Posted by wre136
Does this years autonomous only run itself once and that is it or is there a way to make it loop so we can use state machines in it or at least perform all the steps in a flat sequence box?
|
Are you using SimpleRobot or IterativeRobot?
If iterative robot, make sure all your code that you want to run in a loop is in autonomousPeriodic()
If simple robot, you may want to wrap all your code in a while loop with the condition isAutonomous() && isEnabled() Note the "i" in "is" is capitalized in C++, lowercase in Java.