eeros_architecture:sequencer:define_sequence
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
eeros_architecture:sequencer:define_sequence [2019/03/21 07:54] – [Write your own Class] graf | eeros_architecture:sequencer:define_sequence [2020/09/30 08:06] – [Define the Action] ursgraf | ||
---|---|---|---|
Line 53: | Line 53: | ||
step2(); | step2(); | ||
step3(); | step3(); | ||
+ | return 0; | ||
} | } | ||
</ | </ | ||
- | Its mandatory to implement this function. If not, no work is done and the step or sequence terminates immediately. \\ | + | Its mandatory to implement this function. If not, no work is done and the step or sequence terminates immediately. |
There might be sequences which should never stop. This must be done as shown below: | There might be sequences which should never stop. This must be done as shown below: | ||
<code cpp> | <code cpp> | ||
Line 62: | Line 63: | ||
while (Sequencer:: | while (Sequencer:: | ||
// while (true) step1(); | // while (true) step1(); | ||
+ | return 0; | ||
} | } | ||
</ | </ |
eeros_architecture/sequencer/define_sequence.txt · Last modified: 2023/02/26 00:25 by ursgraf