Launch 2018

VEX BaseBot build instructions

Links to information about the final project and tournament

Game video

Game rules

Field drawing

Field elements measured drawings

orbits-level1.png

orbits-level2.png

orbits-level3.png

field-side.png

ramp-side.png

labels.png

top.png

ramp-front.png

Tournament template code

This template is a program that handles the timing of the teleop and autonomous periods of the game. It does it by creating two tasks, one called autonomous and the other called teleop. You should remove the sample code in those tasks and replace it with your autonomous and teleop code.

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:

  1. Starts the task "autonomous" where your autonomous code is. Then it waits 20 seconds for the autonomous period to end, then stops the autonomous task.
  2. Starts the task "teleop" where your teleop code is. Then it waits 25 seconds (your should change this to 120 seconds for the competition) then stops the teleop task.
  3. The program ends, and the motors stop.

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