View Single Post
  #7   Spotlight this post!  
Unread 20-02-2004, 14:44
Phil_Lutz's Avatar
Phil_Lutz Phil_Lutz is offline
Phil Lutz
#0851 (Froggers)
Team Role: Mentor
 
Join Date: Jan 2004
Location: El Segundo, CA
Posts: 67
Phil_Lutz is on a distinguished road
Send a message via Yahoo to Phil_Lutz
Re: cant get into autonomus

On your OI you can set a trigger.

Code:
#define AUTO_BUTTON       p1_trig // don't quote me on the variable

if ((autonomous_mode =0 || AUTO_BUTTON = 1)
{
  // Execute autonomous code
}
(I don't have the exact code in front of me)

Then All you need to do is pull the trigger and your robot jumps into auton.
Release the trigger to stop it. (great for stopping a run-away robot )

Phil