Difference between revisions of "TETRIX Using Templates"

Jump to: navigation, search
(Created page with "{| style="font-family:Verdana, Genega, sans-sarif; font-size:80%;color:gray;" width="100%" cellpadding="0%" cellspacing="0" border="0" |- | ''Main >> [[TETRIX_M...")
(No difference)

Revision as of 16:47, 4 April 2012

Main >> TETRIX >> Using Templates



The Field Management System (FMS) during the FTC competition will use a two-program architecture to make programming easier. This means that you will have two sperate programs for the competition, an autonomous program for the first 30 seconds of the competition and a user control program for the remainder of the competition time.

To program in the two-program architecture, you should use the Autonomous and User Control templates available in ROBOTC. To open these templates, use the File Menu - New command.
Tetrix file new auton templ.png

During the competition, you will manually start your Autonomous program, and then the FMS will automatically switch to your TeleOp program at the start of the User Control portion of the competition. Which program is ran is depended upon the "FTCTeleop.txt" file that lives on your NXT. The FTCTeleop.txt file tells the FMS which program you would like to run when the TeleOp portion of the competition begins.

To generate or change which program you would like to run during TeleOp, use the "Teleop Program" selector built into the Joystick Control window.
Tetrix joystick game noTeleop.png