getting_started:tutorials:sequencer4
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
getting_started:tutorials:sequencer4 [2018/06/28 09:51] – graf | getting_started:tutorials:sequencer4 [2021/03/31 15:40] (current) – [Monitor Checking two Sequences] ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== How to Organize Sequences and Steps ====== | ||
- | <code cpp> | ||
- | class Readying : public Sequence { | ||
- | public: | ||
- | Readying(std:: | ||
- | int action() { | + | ====== Sequence with two Monitors ====== |
- | cs.setMaxSpeed(1.0); // we assume that the control system offers some speed limitation | + | |
- | cs.pathPlanner.move(ready_pos); | + | In the EEROS library you will find a directory with examples. For this example see [[https:// |
- | } | + | |
- | + | Open a shell in the build directory of your EEROS library and run | |
- | bool checkExitCondition() { | + | < |
- | bool end = cs-> | + | $ ./ |
- | if (end) safetySystem-> | + | </ |
- | | + | |
- | } | + | This example shows a sequence with two associated monitors. The '' |
- | }; | + | [{{ .: |
- | </ | + | \\ |
+ | |||
+ | |||
+ | |||
+ | ==== Altering the Monitor Behavior ==== | ||
+ | Change the behavior of '' | ||
+ | If you change the behavior of the timeout monitor to '' | ||
+ | |||
+ | ===== Monitor Checking two Sequences ===== | ||
+ | The next example is [[https:// | ||
+ | Open a shell in the build directory of your EEROS library and run | ||
+ | < | ||
+ | $ ./ | ||
+ | </ | ||
+ | |||
+ | This example shows a sequence with two associated monitors. The '' | ||
+ | [{{ .: | ||
+ | \\ | ||
+ |
getting_started/tutorials/sequencer4.1530172285.txt.gz · Last modified: 2018/06/28 09:51 (external edit)