View Single Post
  #9   Spotlight this post!  
Unread 24-10-2012, 00:38
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,513
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: Autonomous scripting language

Quote:
Originally Posted by apalrd View Post
Using text files allows for very repeatable execution compared to something where you enter the commands every match, easy modification, and easy addition of new scripts.
We used this method as well. We used an FTP script that downloaded all our auton files, all our constant files (PID Gains, etc), and then downloaded all the pictures taken on the field (we took a picture every time we pulled the trigger) to the computer for analysis. That really helped our accuracy increase as we got a bigger and bigger picture pool.

Our script was simple. Each 'block' of code had lines for every function on the robot: shooter angle, shooter speed, robot angle, distance to drive, etc.

We couldn't change them at the dashboard on the field, but updating the in the pits was a matter of seconds.

We learned this the hard way at the 2011 champs when we wasted an entire practice field session waiting for new auto code to compile.