Go to Post Yes, it can. You'll have to ask the lawyers around here whether it's legal or not. - Kevin Watson [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 26-02-2005, 13:10
BillyJ BillyJ is offline
Registered User
no team
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Texas
Posts: 13
BillyJ is an unknown quantity at this point
Auton Vars

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
  #2   Spotlight this post!  
Unread 26-02-2005, 14:54
thoughtful's Avatar
thoughtful thoughtful is offline
Registered User
FRC #1219 (Emery Iron Eagle)
Team Role: Alumni
 
Join Date: Nov 2003
Location: Toronto,Canada
Posts: 291
thoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to behold
Re: Auton Vars

you could define them at the begining of user_routines_fast.c after these lines.

Code:
#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
__________________
.:Bringling Brains to Life:.

03,04,05-Team 1219 Captain
2003 Rookie all Start @ GTR
2005 Galileo Semi-Finalist & Alliance captain
06-Team 1219 Mentor
2006 Radio Shack Innovation in control @ Waterloo
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Robot turning Erratically in auton... Moloch Programming 6 23-02-2005 16:07
How do you plan on doing auton? Salik Syed Programming 2 17-02-2005 00:05
auton vids ejSabathia Robot Showcase 3 09-03-2004 10:13
testing Auton and IR sensors at events KenWittlief General Forum 2 08-03-2004 16:40
Can't figure out auton mode TangoBravo1318 Programming 1 20-02-2003 10:06


All times are GMT -5. The time now is 03:57.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi