View Single Post
  #2   Spotlight this post!  
Unread 05-02-2005, 18:51
probizzle's Avatar
probizzle probizzle is offline
Registered User
AKA: Prabhas Pokharel
#0639 (Code Red)
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2003
Location: Ithaca
Posts: 78
probizzle will become famous soon enoughprobizzle will become famous soon enough
Send a message via AIM to probizzle
Re: Best Way To Insert Autonomous Code Into Default then load help.? :-)?

The place for adding autonomous code is in User_Autonomous() in user_routines_fast.c, under the comment
/* Add your own autonomous code here */

It will be a good idea to make an auto.h/auto.c to have all your autonomous functions, and use user_routines_fast.c to call a central function (auto_main() perhaps).

Anyway, look at http://kevin.org/frc for lot's of more cool information.

[edit] Also, look at http://www.ifirobotics.com/docs/lega...2-apr-2004.pdf too. This is last year's programming reference guide. Most of hte things there still apply. Obviously though, you won't find any references to the camera there. (and don't bother about references to the line tracker, which was "last year's camera"). [/edit]
__________________
Code Red Team 639 Winners of the 2005 FingerLakes Regional with 191 and 494.
--
http://pset.deu83.com << my baby
http://www.setgame.com/set/ << it's mother

Last edited by probizzle : 05-02-2005 at 18:56.