View Single Post
  #8   Spotlight this post!  
Unread 29-08-2016, 10:27
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 361
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: Cancel a command

Quote:
Originally Posted by cpapplefamily View Post
Good to know I'll have them add that part to the code as well.
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?
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote