Skip to content

Commit

Permalink
Add examples from test folder
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Jan 9, 2024
1 parent a09248e commit ba1495e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions pid_controller/doc/userdoc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,13 @@ List of parameters
An example parameter file
=========================

.. generate_parameter_library_default::
../src/pid_controller.yaml

An example parameter file for this controller can be found in `the test folder (standalone) <https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/pid_controller/test/pid_controller_params.yaml>`_:

.. literalinclude:: ../test/pid_controller_params.yaml
:language: yaml

or as `preceding controller <https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/pid_controller/test/pid_controller_preceding_params.yaml>`_:

.. literalinclude:: ../test/pid_controller_preceding_params.yaml
:language: yaml

0 comments on commit ba1495e

Please sign in to comment.