View Single Post
  #5   Spotlight this post!  
Unread 11-03-2013, 16:26
CodeYeti's Avatar
CodeYeti CodeYeti is offline
FRC Addict
AKA: Matt Coffin
FRC #0662 (Rocky Mountain Robotics)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Colorado
Posts: 81
CodeYeti is an unknown quantity at this point
Re: Autonomous auto stopping

Quote:
Originally Posted by joelg236 View Post
No. Autonomous (at least in Java) will run until it is finished. There is no way a method's execution can be "stopped".
Well, if you really wanted to design it this way, then you could have things running in threads, then interrupt them, or set a boolean and have them return. That was part of my team's architecture last year.
Reply With Quote