View Single Post
  #9   Spotlight this post!  
Unread 28-01-2003, 19:23
Stephanie Stephanie is offline
Stew da Baker
AKA: AKA: Steppie86
no team
 
Join Date: Dec 2001
Location: San Jose, CA
Posts: 266
Stephanie has a spectacular aura aboutStephanie has a spectacular aura aboutStephanie has a spectacular aura about
Send a message via AIM to Stephanie
autonomous mode tips

if you look in the beginning of the main program loop, you will see an if statement that uses the auton_mode variable. this is what will do the switch between main and autonomous mode. the only way you can change to autonomous mode yourself without the competition port is by setting your team number to 0. i have myself done something else to test autonomous mode. here is the code i have used for this:

to be placed in main program:
if P1_sw_top = 1 &~ 0 then run 2

to be placed in autonomous mode:
if p1_sw_top = 0 &~ 1 then run 1

hope this helps