Thread
:
Commands Ending Other Commands
View Single Post
#
2
02-23-2016, 12:17 PM
euhlmann
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 298
Re: Commands Ending Other Commands
Make them both call Requires(YourRollerSubsystem) and SetInterruptible(true) in the constructor. Wpilib will then take care of ending the running one when the other is called for you.
euhlmann
View Public Profile
Visit euhlmann's homepage!
Find all posts by euhlmann
Find CD-Media Photos by euhlmann
Find CD-Media Papers by euhlmann