View Single Post
  #6   Spotlight this post!  
Unread 05-16-2012, 03:55 PM
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,509
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: 1126 Reference Manual and Competition Code

I think you'll find that many of the top teams use a script or command based auto system.

We switched over to it for the first time this year. The flexibility it gives you is astounding.

In 2011, we had a 'standard' state machine autonomous, where changes required you to go in, change portions of the program, and recompile each time. That resulted in a horrible failure where we were on the practice field trying to complete 2-tube-auto but could not because we would only get one or two repetitions of program - deploy - run auto each time due to the field time constraints.

In 2012, we went to a script system. We took pointers from teams like 33 who were gracious enough to post their code.

As a result, changing autonomous is as easy as changing a comand or number in a text file, and clicking 'save'. The widget we built ftp's it to the robot, and the robot program re-reads the auton files each time it executes auto-mode so it updates any changes. Writing an entirely new autonomous routine literally takes a minute. No new programming, just a text file.

It's worth the time to spend an offseason working on it.
Reply With Quote