View Single Post
  #6   Spotlight this post!  
Unread 03-05-2012, 14:43
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 592
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Crio autonomous delay overlaps tele

In both C++ and Java using the SimpleRobotTemplate, there is no code that will force you're autonomous method to end. So as was stated, you can loop using the isAutonomous() or isOperatorControl() methods.

We were afraid that there might be locked resources and if we just ended the method, you could have deadlock waiting for those resources to free up.

If you're using the Periodic template (or the command based stuff), then it will get out of Autonomous naturally.

Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute