String with mass system: simulation, controller and observer implementation
---------------------------------------------------------------------------

.. currentmodule:: examples.swm_sim_ctrl_obs
.. automodule:: examples.swm_sim_ctrl_obs

.. autofunction:: build_system_state_space

    .. literalinclude:: /../examples/swm_sim_ctrl_obs.py
        :language: python
        :start-after: # (sphinx directive) start build_system_state_space
        :end-before: # (sphinx directive) end build_system_state_space

.. autofunction:: build_control_law

    .. literalinclude:: /../examples/swm_sim_ctrl_obs.py
        :language: python
        :start-after: # (sphinx directive) start build_control_law
        :end-before: # (sphinx directive) end build_control_law

.. autofunction:: build_observer_can

    .. literalinclude:: /../examples/swm_sim_ctrl_obs.py
        :language: python
        :start-after: # (sphinx directive) start build_observer_can
        :end-before: # (sphinx directive) end build_observer_can

* script:

.. literalinclude:: /../examples/swm_sim_ctrl_obs.py
    :language: python
    :start-after: # (sphinx directive) start import
    :end-before: # (sphinx directive) end import

.. code-block:: python

                    .
                    .
                    .

.. literalinclude:: /../examples/swm_sim_ctrl_obs.py
    :language: python
    :start-after: # (sphinx directive) start actual script

String with mass system: simulation, controller and observer implementation
---------------------------------------------------------------------------

.. currentmodule:: pyinduct.examples.swm_sim_ctrl_obs
.. automodule:: pyinduct.examples.swm_sim_ctrl_obs

.. autofunction:: build_system_state_space

    .. literalinclude:: /../pyinduct/examples/swm_sim_ctrl_obs.py
        :language: python
        :start-after: # (sphinx directive) start build_system_state_space
        :end-before: # (sphinx directive) end build_system_state_space

.. autofunction:: build_control_law

    .. literalinclude:: /../pyinduct/examples/swm_sim_ctrl_obs.py
        :language: python
        :start-after: # (sphinx directive) start build_control_law
        :end-before: # (sphinx directive) end build_control_law

.. autofunction:: build_observer_can

    .. literalinclude:: /../pyinduct/examples/swm_sim_ctrl_obs.py
        :language: python
        :start-after: # (sphinx directive) start build_observer_can
        :end-before: # (sphinx directive) end build_observer_can

* script:

.. literalinclude:: /../pyinduct/examples/swm_sim_ctrl_obs.py
    :language: python
    :start-after: # (sphinx directive) start import
    :end-before: # (sphinx directive) end import

.. code-block:: python

                    .
                    .
                    .

.. literalinclude:: /../pyinduct/examples/swm_sim_ctrl_obs.py
    :language: python
    :start-after: # (sphinx directive) start actual script

Revise docs of string with mass example
Revise docs of string with mass example
