eeros_architecture:sequencer:sequencer
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
eeros_architecture:sequencer:sequencer [2017/09/12 21:05] – graf | eeros_architecture:sequencer:sequencer [2021/04/20 15:33] – [Sequencer] ursgraf | ||
---|---|---|---|
Line 7: | Line 7: | ||
</ | </ | ||
- | The next step is to define a meaningfull | + | The next step is to define a meaningfull sequence (see [[.: |
<code cpp> | <code cpp> | ||
MainSequence mainSequence(" | MainSequence mainSequence(" | ||
- | | + | mainSequence(); |
- | | + | |
... // do other things such as starting the executor | ... // do other things such as starting the executor | ||
- | | + | |
</ | </ | ||
===== Forcing the Sequencer to Stop Immediately ===== | ===== Forcing the Sequencer to Stop Immediately ===== | ||
- | For a system under development you often want to abort a running system. This case must be handled carefully. As described in [[getting_started: | + | For a system under development you often want to abort a running system. This case must be handled carefully. As described in [[getting_started: |
<code cpp> | <code cpp> | ||
void signalHandler(int signum) { | void signalHandler(int signum) { | ||
Line 24: | Line 23: | ||
} | } | ||
</ | </ | ||
- | not only the safety system will gracefully shutdown but the sequencer running | + | not only the safety system will gracefully shutdown but the sequencer running |
+ | <code cpp> | ||
+ | ... | ||
+ | sequencer.wait(); | ||
+ | ... | ||
+ | </ | ||
eeros_architecture/sequencer/sequencer.txt · Last modified: 2021/12/23 17:40 by ursgraf