If you are using the FCS for testing, it needs to have an autonomous program loaded and running before the start of the match. (you might not need an autonomous as long as the program chooser has set the tele-op file on the NXT brick.) After autonomous, the FCS will read a short text file which has the name of your teleop program which is will then start. This text file is set by the program chooser.
I would use the full template as provided by CMU and the Robotics Academy as there are other things in the template such as servo initialization, sensor stabilization... As you can read below from the FTC programming pages, RobotC has the templates already loaded onto your computer during the installation process.
Quote:
Programming Templates
Programming Templates
FIRST Tech Challenge allows teams to choose the programming platform they will use to control their robots during competition. However, it is required that teams have the appropriate template for their chosen platform downloaded and installed for competition. Teams without loaded templates will not pass the software inspection portion of the competition.
<snip>
ROBOTC:
Once the software has been installed, the templates can be found on your computer in the following folder:
......Robotics AcademyROBOTC for Mindstorms/Sample ProgramsNXT/Templates
|