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