Skip to content

Commit

Permalink
Update controller_manager/doc/userdoc.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Sai Kishor Kothakota <saisastra3@gmail.com>
  • Loading branch information
fmauch and saikishor committed Feb 22, 2024
1 parent b11474d commit 9a5ad95
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions controller_manager/doc/userdoc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,9 @@ robot_description (std_msgs/msg/String)
Handling Multiple Controller Managers
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

When dealing with multiple controller managers, you can manage different robot descriptions either
using remappings or putting both, the ``robot_state_publisher`` and the ``controller_manager`` into
the same namespace.
When dealing with multiple controller managers, you have two options for managing different robot descriptions:

Using namespaces a snippet of a launchfile could look like the following:
1. **Using Namespaces:** You can place both the ``robot_state_publisher`` and the ``controller_manager`` nodes into the same namespace.

.. code-block:: python
Expand All @@ -112,8 +110,7 @@ Using namespaces a snippet of a launchfile could look like the following:
namespace="rrbot",
)
Using remappings:
2. **Using Remappings:** You can use remappings to handle different robot descriptions. This involves relaying topics using the ``remappings`` tag, allowing you to specify custom topics for each controller manager.

.. code-block:: python
Expand Down

0 comments on commit 9a5ad95

Please sign in to comment.