View Single Post
  #1   Spotlight this post!  
Unread 30-11-2009, 18:10
rzoeller rzoeller is offline
MN GOFIRST Recruitment Officer
AKA: Ryan Zoeller
FRC #2169 (RI3D 'Snow Problem; KING TeC)
Team Role: Alumni
 
Join Date: Nov 2009
Rookie Year: 2007
Location: Savage, MN
Posts: 111
rzoeller is a jewel in the roughrzoeller is a jewel in the roughrzoeller is a jewel in the rough
[FTC]: Autonomous Code Ender

Hi there, I am a relatively new FTC-er and I had a question about the autonomous coding in ROBOTC. Is there a way to make a while loop abort after a set amount of time, say 20 seconds, even if it has not completed its usual task? Because we are having our robot find the center goal during autonomous and fire balls into it, but if the sensors do not find the beacon or the robot cannot center on it we need our robot to automatically abort the while loop and start other tasks.

Any help would be greatly appreciated.

Last edited by rzoeller : 30-11-2009 at 18:14.
Reply With Quote