Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@ Now run ``talker`` and ``listener`` to test Cyclone DDS.

.. code-block:: console

$ source /opt/ros/{DISTRO}/setup.bash
$ ros2 run demo_nodes_cpp talker

.. code-block:: console

$ source /opt/ros/{DISTRO}/setup.bash
$ ros2 run demo_nodes_cpp listener
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,12 @@ Run the ``talker`` and ``listener`` nodes to verify your installation:

.. code-block:: console

$ source /opt/ros/{DISTRO}/setup.bash
$ ros2 run demo_nodes_cpp talker

.. code-block:: console

$ source /opt/ros/{DISTRO}/setup.bash
$ ros2 run demo_nodes_cpp listener

If the nodes communicate successfully, your installation is working correctly.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,10 @@ Now run ``talker`` and ``listener`` to test RTI Connext DDS

.. code-block:: console

$ source /opt/ros/{DISTRO}/setup.bash
$ ros2 run demo_nodes_cpp talker

.. code-block:: console

$ source /opt/ros/{DISTRO}/setup.bash
$ ros2 run demo_nodes_cpp listener

Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ Now run ``talker`` and ``listener`` to test Fast DDS.

.. code-block:: console

$ source /opt/ros/{DISTRO}/setup.bash
$ ros2 run demo_nodes_cpp talker

.. code-block:: console

$ source /opt/ros/{DISTRO}/setup.bash
$ ros2 run demo_nodes_cpp listener
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Start the Zenoh router
.. code-block:: bash

# terminal 1
source /opt/ros/{DISTRO}/setup.bash
ros2 run rmw_zenoh_cpp talker rmw_zenohd

.. note:: Without the Zenoh router, nodes will not be able to discover each other since multicast discovery is disabled by default in the node's session config.
Expand All @@ -83,12 +84,14 @@ Start the Zenoh router

# terminal 2
export RMW_IMPLEMENTATION=rmw_zenoh_cpp
source /opt/ros/{DISTRO}/setup.bash
ros2 run demo_nodes_cpp talker

.. code-block:: bash

# terminal 3
export RMW_IMPLEMENTATION=rmw_zenoh_cpp
source /opt/ros/{DISTRO}/setup.bash
ros2 run demo_nodes_cpp listener

.. note:: Remember to source your ROS 2 setup script before running these commands.
Expand Down