Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| documentation:skiros:compound_skills [2023-03-23 19:04] – created Pontus Rosqvist | documentation:skiros:compound_skills [2023-06-26 14:44] (current) – Pontus Rosqvist | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Compound Skills ====== | ====== Compound Skills ====== | ||
| - | When it comes to SkiROS a compound skill can be implemented by extending [[https:// | + | This page will refer to example skills from [[https:// |
| + | |||
| + | When it comes to SkiROS a compound skill can be implemented by extending [[https:// | ||
| ^ Name ^ When it runs ^ Note ^ | ^ Name ^ When it runs ^ Note ^ | ||
| Line 9: | Line 11: | ||
| | onEnd | Once when execute has returned a terminal state. | | onEnd | Once when execute has returned a terminal state. | ||
| - | A compound skill can only call skills | + | A compound skill can call other skills |
| + | |||
| + | ===== Skill Processors ===== | ||
| + | |||
| + | The execution of skills from the compound skill can be coordinate with the help of many different skill processors. The available skill processors are | ||
| + | |||
| + | ^ Processor Name ^ Purpose ^ Note ^ | ||
| + | | Serial | Executes each skill sequentially until every skill has succeeded. Restarts finished skills. | | | ||
| + | | SerialStar | Executes each skill sequentially until every skill has succeeded. Does not restart skills that have succeeded. | | | ||
| + | | Sequential | Alias of SerialStar. Deprecated. | | | ||
| + | | Selector | Executes each skill sequentially until one succeeds. | | | ||
| + | | SelectorStar | Executes each skill sequentially until one succeeds, additionally it keeps track of which skills have succeded and refrains from running them again. | | | ||
| + | | ParallelFf | Parallel First Fail - Executes skills in parallel until all succeed. Stop all processes if a skill fails. | | | ||
| + | | ParallelFs | Parallel First Success - Executes skills in parallel until one succeeds. Stop all processes if a skill succeeds/ | ||
| + | | Loop | Executes the skills sequentially N times. | Optionally takes amount times to loop as parameter, otherwise loops forever. | | ||
| + | | RetryOnFail | Executes the skills sequentially restarts from the beginning if a skill fails. | Optionally takes the maximal amount restarts as parameter, otherwise retires until all skills have succeded. | | ||
| + | | NoFail | Wrapper for a skill processor to stop if from returning fail. | Takes a skillprocessor as a parameter. | | ||
| + | | InferInvalid | ||
| + | |||
| + | These are all the skill processors one can use but they can also be found [[https:// | ||
| - | === Skill Processors === | ||