Thread
:
Aborting a Flat Sequence
View Single Post
#
2
15-02-2014, 15:04
plnyyanks
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
Re: Aborting a Flat Sequence
No, there is generally not a good way to stop a structure mid-execution. If you find the the pressing need to do this, it may be better to implement your code as a
state machine
instead. This way, you can manually change the states yourself.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook
The Blue Alliance for Android
plnyyanks
View Public Profile
Find all posts by plnyyanks
Find CD-Media Photos by plnyyanks
Find CD-Media Papers by plnyyanks