
07-01-2007, 20:23
|
 |
 |
[automate(a) for a in tasks_to_do]
 FRC #5507 (Robotic Eagles)
Team Role: Mentor
|
|
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,030
|
|
|
Re: EasyC: Execute code before autonomous
Quote:
Originally Posted by Kingofl337
You only need to call isEnabled to make sure the while loop ends and you don't get stuck in initialize. Initialize is run every time you reset your robot to calibrate any sensors that may need it.
while ( !IsEnabled() ) {
your code
}
|
Excellent. Thanks!
|