|
[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.
|