View Single Post
  #4   Spotlight this post!  
Unread 29-08-2016, 23:48
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 255
cpapplefamily has a spectacular aura aboutcpapplefamily has a spectacular aura about
Re: Cancel a command

Quote:
Originally Posted by euhlmann View Post
The key part is in isFinished(), which returns true if it's unsafe (so the command finishes)

I'm curious as to why a command can't be canceled in a commandgroup. Is there any particular reason for that?
Right! Seems like you should be able to cancel a running command anywhere. maybe when its in a Command group its not its own object anymore. I guess for now we will just have to play by the rules.
Reply With Quote