Skip to content

Commit a387d2c

Browse files
authored
Correct examples commands (#966)
Signed-off-by: Javier Gil Aviles <javiergil@eprosima.com>
1 parent 2086293 commit a387d2c

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

docs/docker/fastdds/fast_dds.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ This is a minimal example that will perform a Publisher/Subscriber match and sta
5050
.. code-block:: bash
5151
5252
goToExamples
53-
cd dds/HelloWorldExample/bin
54-
tmux new-session "./DDSHelloWorldExample publisher 0 1000" \; \
55-
split-window "./DDSHelloWorldExample subscriber" \; \
53+
cd hello_world/bin
54+
tmux new-session "./hello_world publisher" \; \
55+
split-window "./hello_world subscriber" \; \
5656
select-layout even-vertical
5757
5858
This example is not constrained to the current instance.
@@ -62,13 +62,13 @@ following from each container.
6262
.. code-block:: bash
6363
6464
goToExamples
65-
cd dds/HelloWorldExample/bin
66-
./DDSHelloWorldExample publisher
65+
cd hello_world/bin
66+
./hello_world publisher
6767
6868
or
6969

7070
.. code-block:: bash
7171
7272
goToExamples
73-
cd dds/HelloWorldExample/bin
74-
./DDSHelloWorldExample subscriber
73+
cd hello_world/bin
74+
./hello_world subscriber

docs/docker/fastdds_suite/fast_dds_suite.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ This is a minimal example that will perform a Publisher/Subscriber match and sta
9090
.. code-block:: bash
9191
9292
goToExamples
93-
cd dds/HelloWorldExample/bin
94-
tmux new-session "./DDSHelloWorldExample publisher 0 1000" \; \
95-
split-window "./DDSHelloWorldExample subscriber" \; \
93+
cd hello_world/bin
94+
tmux new-session "./hello_world publisher" \; \
95+
split-window "./hello_world subscriber" \; \
9696
select-layout even-vertical
9797
9898
This example is not constrained to the current instance. It's possible to run several instances of this
@@ -101,16 +101,16 @@ container to check the communication between them by running the following from
101101
.. code-block:: bash
102102
103103
goToExamples
104-
cd dds/HelloWorldExample/bin
105-
./DDSHelloWorldExample publisher
104+
cd hello_world/bin
105+
./hello_world publisher
106106
107107
or
108108

109109
.. code-block:: bash
110110
111111
goToExamples
112-
cd dds/HelloWorldExample/bin
113-
./DDSHelloWorldExample subscriber
112+
cd hello_world/bin
113+
./hello_world subscriber
114114
115115
.. _fast_dds_suite_shapes_demo:
116116

@@ -165,11 +165,11 @@ DDS Router communicating both Domains.
165165
.. code-block:: bash
166166
167167
goToExamples
168-
cd dds/BasicConfigurationExample/bin
168+
cd configuration/bin
169169
tmux new-session \
170170
"ddsrouter --config-path /config.yml" \; \
171-
split-window -h "./BasicConfigurationExample publisher --domain 0 --interval 1000 --transport udp" \; \
172-
split-window -v "./BasicConfigurationExample subscriber --domain 1 --transport udp"
171+
split-window -h "./configuration publisher --domain 0 --interval 1000 --transport udp" \; \
172+
split-window -v "./configuration subscriber --domain 1 --transport udp"
173173
174174
eProsima DDS Router usage information can be found on the `DDS Router documentation
175175
<https://eprosima-dds-router.readthedocs.io/en/latest/rst/getting_started/project_overview.html>`_.

docs/installation/sources/sources_qnx.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ Move Libraries, Examples, and Tests to the QNX Target
206206
# Move Fast-DDS library to the QNX target
207207
scp -r ~/qnx710/target/qnx7/aarch64le/usr/bin/Fast-DDS_test root@<target-ip-address>:/var
208208
209-
Run DDSHelloWorldExample
209+
Run Hello World
210210
------------------------
211211

212212
#. Open a terminal and run a subscriber:
@@ -217,7 +217,7 @@ Run DDSHelloWorldExample
217217
ssh root@<target-ip-address>
218218
219219
# Run a subscriber
220-
/var/examples/cpp/dds/HelloWorldExample/bin/DDSHelloWorldExample subscriber
220+
/var/examples/cpp/hello_world/bin/hello_world subscriber
221221
222222
#. Open another terminal and run a publisher:
223223

@@ -227,7 +227,7 @@ Run DDSHelloWorldExample
227227
ssh root@<target-ip-address>
228228
229229
# Run a publisher
230-
/var/examples/cpp/dds/HelloWorldExample/bin/DDSHelloWorldExample publisher
230+
/var/examples/cpp/hello_world/bin/hello_world publisher
231231
232232
The following output will be shown in the subscriber terminal:
233233

0 commit comments

Comments
 (0)