Skip to content

Commit 8e74ebc

Browse files
committed
Update doc with command to change parameter online
1 parent 288a358 commit 8e74ebc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

example_16/doc/userdoc.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,11 @@ Click 'Yes' for the first dialog and 'OK" to the following two dialogs, then you
215215
:width: 400
216216
:alt: Plotjuggler visualization of DiffBot velocities and commands
217217

218-
5. Change the ``gains`` in the ``diffbot_chained_controllers.yaml`` file with different p, i, d values, repeat above steps to see the effect of feedforward mode.
218+
5. Change the ``gains`` in the ``diffbot_chained_controllers.yaml`` file with some different values, repeat above steps and observe its effect to the pid_controller commands. For example, to change the ``feedforward_gain`` of the right wheel to 0.50, you can use the following command:
219+
220+
.. code-block:: shell
221+
222+
ros2 param set /pid_controller_right_wheel_joint gains.right_wheel_joint.feedforward_gain 0.50
219223
220224
221225
Files used for this demo

0 commit comments

Comments
 (0)