Difference between revisions of "TETRIX Using Templates"

From ROBOTC API Guide
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...")
 
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
{| style="font-family:Verdana, Genega, sans-sarif; font-size:80%;color:gray;" width="100%" cellpadding="0%" cellspacing="0" border="0"
+
<yambe:breadcrumb self="Using Templates">TETRIX|TETRIX</yambe:breadcrumb>
|-
+
|
+
''[[Main_Page|Main]] >> [[TETRIX_Main|TETRIX]] >> [[TETRIX:_Using_Templates|Using Templates]] ''
+
|-
+
|}
+
 
<br />
 
<br />
  
{|
+
{{tl|1|}}
|-
+
|style="vertical-align:top"| __TOC__
+
|-
+
|}
+
 
<br />
 
<br />
  
Line 19: Line 10:
 
|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.
 
|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.
 
<br />
 
<br />
 +
 
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.
 
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.
 
<br />
 
<br />
 +
 
[[File:tetrix_file_new_auton_templ.png]]
 
[[File:tetrix_file_new_auton_templ.png]]
 
<br />
 
<br />
 +
  
 
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.
 
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.
Line 28: Line 22:
 
To generate or change which program you would like to run during TeleOp, use the "Teleop Program" selector built into the Joystick Control window.
 
To generate or change which program you would like to run during TeleOp, use the "Teleop Program" selector built into the Joystick Control window.
 
<br />
 
<br />
 +
 
[[File:tetrix_joystick_game_noTeleop.png]]
 
[[File:tetrix_joystick_game_noTeleop.png]]
 
|-
 
|-
 
|}
 
|}
 
<br />
 
<br />

Latest revision as of 20:00, 30 April 2012

TETRIX → Using Templates


Contents


Information

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