VEX BaseBot build instructions
You should create the program using the "USB or VEXnet" communications mode so that when the robot connects to the joystick controller, the main task "task main()" starts. It does the following operations:
If you want to do some initialization before the autonomous period starts, put that before the program waits for the joystick input. It will run as soon as the robot connects to the joystick, but before you press one of the buttons.
Also, we might ask you to insert some code to wait for a joystick button between autonomous and teleop so the refs have enough time to count the autonomously scored balls. If that is the case, just duplicate the loop that waits for a button press between the end of autonomous and the start of teleop so that the robot stops, waiting for a button press before moving on to teleop.
You should also stop all the motors by setting their values to 0 at the end of the autonomous task so nothing is running during that transition.
C Tournament Template code