View Single Post
  #2   Spotlight this post!  
Unread 12-02-2003, 21:33
Jnadke Jnadke is offline
Go Badgers!
#0093
Team Role: Alumni
 
Join Date: Jan 2002
Location: Appleton, WI
Posts: 775
Jnadke is on a distinguished road
Send a message via ICQ to Jnadke Send a message via AIM to Jnadke Send a message via Yahoo to Jnadke
This is true. The autonomous mode status is controlled through the competition port.

In your program, there is a way to tell when autonomous mode is on. There's a variable called "auton_mode". It will be 1 when your robot is running in autonomous mode. Just do a simple "IF" statement that checks if this variable is "1". If it is, run the autonomous code, otherwise, run the regular code.
__________________
The best moments of our lives fall in two categories: those that did happen and those that did not.