Which page?
https://frcsoftware.org/learning-course/stage1/stage1a/simple-auto/#autonomous-opmode
What's wrong?
We should add a codeblock showing how to construct a Timer object since students haven't encountered that until this part. Specify that they need to import the WPILib timer class, not any of the other Timers.
We also need to call autoTimer.restart() for the auto opmode to actually work, this isn't specified currently:
@Override
public void start() {
/* Called once when the robot is enabled. */
autoTimer.restart();
}
Which page?
https://frcsoftware.org/learning-course/stage1/stage1a/simple-auto/#autonomous-opmode
What's wrong?
We should add a codeblock showing how to construct a Timer object since students haven't encountered that until this part. Specify that they need to import the WPILib timer class, not any of the other Timers.
We also need to call autoTimer.restart() for the auto opmode to actually work, this isn't specified currently: