Skip to content

Commit

Permalink
Update parameters section
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Jul 6, 2024
1 parent 7d84ab0 commit 01d008c
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,22 @@ The *gazebo_ros2_control* ``<plugin>`` tag also has the following optional child

* ``<robot_param>``: The location of the ``robot_description`` (URDF) on the parameter server, defaults to ``robot_description``
* ``<robot_param_node>``: Name of the node where the ``robot_param`` is located, defaults to ``robot_state_publisher``
* ``<parameters>``: YAML file with the configuration of the controllers
* ``<parameters>``: A YAML file with the configuration of the controllers. This element can be given multiple times to load multiple files.
* ``<controller_manager_name>``: Set controller manager name (default: ``controller_manager``)

Additionally, one can specify a namespace and remapping rules, which will be forwarded to the controller_manager and loaded controllers. Add the following ``<ros>`` section:

.. code-block:: xml
<gazebo>
<plugin filename="libgazebo_ros2_control.so" name="gazebo_ros2_control">
...
<ros>
<namespace>my_namespace</namespace>
<remapping>/robot_description:=/robot_description_full</remapping>
</ros>
</plugin>
</gazebo>
Default gazebo_ros2_control Behavior
-----------------------------------------------------------
Expand Down

0 comments on commit 01d008c

Please sign in to comment.