View Single Post
  #5   Spotlight this post!  
Unread 14-04-2006, 01:32
kiettyyyy's Avatar
kiettyyyy kiettyyyy is offline
Registered User
FRC #1538 (The Holy Cows)
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2005
Location: San Diego, CA
Posts: 181
kiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond repute
Send a message via AIM to kiettyyyy
Re: Can't get auto mode to run with OI switches

Okay,

I just put in

Getdata(&rxdata);

if (!autonomous_mode)
{

blha blah blah;
the other stuff up there goes here!

}

See, i moved the int declarations and that other stuff.. and moved it up to the top of the user_routines.c

int currentauto;
int newautoselect;
unsigned int autopos;
unsigned int temp_autopos;
int autocount;



Now in user_routines_fast.c,

extern unsigned char currentauto;
extern unsigned char newautoselect;

WHAT IS WRONG!!?!?!
__________________
-Kiet Chau

2004-2008 - Software Developer/Driver on Team #968
2008-2011 - Software Developer/Coach/Mentor/"Engineer" on Team #968
2011-Present - Mentor & Engineer on Team #1538
www.team1538.com