Thread
:
Manually cancelling a Command
View Single Post
#
3
23-03-2016, 15:27
axiomofdarkness
Registered User
FRC #1403 (Cougar Robotics)
Team Role: Alumni
Join Date: Mar 2015
Rookie Year: 2013
Location: United States
Posts: 21
Re: Manually cancelling a Command
Quote:
Originally Posted by
euhlmann
Within your command:
Code:
if(getGroup() != null) getGroup().cancel(); else cancel();
Will this cause issues if multiple commands are trying to end their parent CommandGroup?
axiomofdarkness
View Public Profile
Find all posts by axiomofdarkness
Find CD-Media Photos by axiomofdarkness
Find CD-Media Papers by axiomofdarkness