|
Re: Commands Ending Other Commands
Quote:
Originally Posted by euhlmann
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.
|
Thanks. I knew about the Requires, but I had no clue SetInterruptible was a thing. I'll add that in now.
__________________
Isaac
Chief of Programming and Head of Autonomous Control
FRC Team 1410
|