Skip to content

Commit d64fc67

Browse files
committed
More composition context
Signed-off-by: Carlos Agüero <[email protected]>
1 parent 292e756 commit d64fc67

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

harmonic/ros2_overview.md

+6
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,10 @@ tutorials, you'll notice that we have included in most cases a parameter named
3434
node will be included within a ROS container. When this happens all the nodes
3535
live within the same process and can leverage intraprocess communication.
3636

37+
Our recommendation is to always set the `use_composition` parameter to `True`.
38+
That way, the communication between Gazebo and the bridge will be intraprocess.
39+
If your ROS nodes are also written as composable nodes, make sure that they are
40+
launched with the `container_node_name` parameter matching the container name
41+
including Gazebo and the bridge.
42+
3743
You can learn more about ROS composition in [this tutorial](https://docs.ros.org/en/galactic/Tutorials/Intermediate/Composition.html).

0 commit comments

Comments
 (0)