Skip to content

Commit

Permalink
Documentation: add missing step in SPP example
Browse files Browse the repository at this point in the history
Fixes #21
  • Loading branch information
jschlatow committed Jan 8, 2021
1 parent 2c7bc61 commit 824e794
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/spp_example.rst
Expand Up @@ -112,6 +112,16 @@ In case of communication-overhead it must be modeled by using other resources/ta
:language: python
:lines: 42-44

Lastly we must set the input event models for all tasks that are not activated by another task.
An event model is an abstraction of possible activation patterns and are commonly parametrized by
an activation period P, a jitter J (optional) and an minimum distance d (optional).
Such an event model is created by :py:class:`pycpa.model.PJdEventModel`.

.. literalinclude:: ../examples/spp_test.py
:language: python
:lines: 46-48


Plotting the Task-Graph
-----------------------

Expand Down

0 comments on commit 824e794

Please sign in to comment.