Thread
:
Cancel a command
View Single Post
#
3
29-08-2016, 10:06
cpapplefamily
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 255
Re: Cancel a command
Good to know I'll have them add that part to the code as well.
Quote:
public void execute() {
if(isUnsafe) {
return;
// IMPORTANT. execute() will be called once regardless of isFinished() status
}
// execute as usual
}
cpapplefamily
View Public Profile
Find all posts by cpapplefamily
Find CD-Media Photos by cpapplefamily
Find CD-Media Papers by cpapplefamily