Skip to content

Commit

Permalink
Merge pull request #100 from rock-core/action_state_machines
Browse files Browse the repository at this point in the history
feat: document action state machines
  • Loading branch information
doudou authored Dec 3, 2022
2 parents d5c0db1 + 2d8382a commit c53267a
Show file tree
Hide file tree
Showing 10 changed files with 662 additions and 92 deletions.
4 changes: 2 additions & 2 deletions source/coordination/action_methods.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sort_info: 30
So far, we know of one way to create actions, by importing a whole profile in
an action interface using the `use_profile` statement. This is rather static:
the only parametrization is by passing arguments to the toplevel composition
of the network, which may trickle down to lower levels through
of the network, which may trickle down to lower levels.

This section will present a second way, which allows to actually run code to
"implement" the action. It essentially runs a method on the action interface,
Expand All @@ -22,7 +22,7 @@ whose job is to create a small "plan" later executed by Syskit.
This section will go through the general syntax for such actions, and will
list a few use-cases for such actions.

## Definition
## Definition {#definition}

Action methods are methods that are defined on an action interface. To "export"
them as actions, one must do a declaration before the method definition using
Expand Down
254 changes: 254 additions & 0 deletions source/coordination/action_state_machine_high_level_docking.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c53267a

Please sign in to comment.