Log in

View Full Version : Auton Vars


BillyJ
26-02-2005, 13:10
I'm confused as to where i should declare the variables for the auton code. I kno i can't do it at the begining of my auto code because every time the loop runs the values would be resete (right?).

Would I do it in that section of user_routines or is that just for the normal vars

thoughtful
26-02-2005, 14:54
you could define them at the begining of user_routines_fast.c after these lines.


#include "ifi_aliases.h"
#include "ifi_default.h"
#include "ifi_utilities.h"
#include "user_routines.h"
#include "robot.h"


/*** DEFINE USER VARIABLES AND INITIALIZE THEM HERE ***/



So put the variables under where i says define user variables