View Single Post
  #4   Spotlight this post!  
Unread 22-03-2008, 01:18
aerophd2001 aerophd2001 is offline
Software Mentor - Team 2366
AKA: Andy
FRC #2366 (Tesla Robotics)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Blue Springs, MO
Posts: 7
aerophd2001 will become famous soon enough
Re: how to run auto?

Here's how I tested my autonomous code:

1. Create a subroutine 'Auto' that contains my entire autonomous code.

2. Put the routine 'Auto' at the start of my User Controlled section as well as inside the Autonomous section.

3. Power up the bot and watch it run the 'Auto' routine (while in the User Controlled section).

4. Tweak and re-deploy (repeat until you like your 'Auto' routine).

5. Comment out (or flat out remove) 'Auto' from your User Controlled section.

Voila!
__________________
(Test + Refine Code + Deploy) ^ n