NXT Program Chooser

From ROBOTC API Guide
Revision as of 20:22, 11 September 2012 by Jwatson (Talk | contribs)

Jump to: navigation, search
NXT → Program Chooser



The Program Chooser

The Program Chooser is a sample program in ROBOTC that allows users to assign programs on the NXT brick for tele-op use. Because autonomous programs are chosen before the start of an FTC match, the program chooser enables mixing-and-matching of programs and helps users account for game variables such as start location, alliance members, opposing alliance members, game object positions, etc before a match starts.
To use the Program Chooser, users must first compile and download any autonomous and tele-op programs they wish to be able to choose from to the NXT brick. Then the Program Chooser must be opened, compiled, and downloaded to the NXT. It can be found by navigating to the File->Open Sample Program->FIRST Tech Challenge folder and selecting 'Program Chooser.c'


Using the Program Chooser

Run the Program Chooser from the NXT. The program will first ask you to choose between Dual and Single Mode:
  • Dual Mode - Allows users to pick separate autonomous and tele-op programs for the match.
  • Single Mode - Configures the NXT to run only one program for both the autonomous and tele-op portions of the match.
If Dual Mode is chosen, the Program Chooser will then allow you to choose which program will be run in the tele-op portion of the match. Once a program is chosen, the Program Chooser will make the necessary changes to the FTCConfig.txt file and end the program.
If Single Mode is chosen, the Program Chooser will automatically make the necessary changes to the FTCConfig.txt file and end the program.