Skip to content

Commit 9d3753c

Browse files
JavgilaviJavier Gil Aviles
and
Javier Gil Aviles
authored
Correct examples on README (#5424)
* Correct examples on README Signed-off-by: Javier Gil Aviles <[email protected]> * Correct minor remain mistake in README Signed-off-by: Javier Gil Aviles <[email protected]> --------- Signed-off-by: Javier Gil Aviles <[email protected]> Signed-off-by: Javier Gil Aviles <[email protected]> Co-authored-by: Javier Gil Aviles <[email protected]>
1 parent 9c9078f commit 9d3753c

File tree

1 file changed

+9
-25
lines changed

1 file changed

+9
-25
lines changed

README.md

+9-25
Original file line numberDiff line numberDiff line change
@@ -156,45 +156,29 @@ These examples' path can be accessed from a terminal by typing
156156

157157
$ goToExamples
158158

159-
From this folder you can access all examples, both for DDS and RTPS.
160-
We detail the steps to launch two such examples below.
159+
From this folder you can access all examples.
160+
We detail the steps to launch one of these examples below.
161161

162162
To launch the Hello World example (a minimal example that will perform a Publisher/Subscriber match and start sending samples) you could run:
163163

164164
$ goToExamples
165-
$ cd dds/HelloWorldExample/bin
166-
$ tmux new-session "./HelloWorldExample publisher 0 1000" \; \
167-
split-window "./HelloWorldExample subscriber" \; \
165+
$ cd hello_world/bin
166+
$ tmux new-session "./hello_world publisher" \; \
167+
split-window "./hello_world subscriber" \; \
168168
select-layout even-vertical
169169

170170
This example is not constrained to the current instance.
171171
It is possible to run several instances of this container to check the communication between them by running the following from each container.
172172

173173
$ goToExamples
174-
$ cd dds/HelloWorldExample/bin
175-
$ ./HelloWorldExample publisher
174+
$ cd hello_world/bin
175+
$ ./hello_world publisher
176176

177177
or
178178

179179
$ goToExamples
180-
$ cd dds/HelloWorldExample/bin
181-
$ ./HelloWorldExample subscriber
182-
183-
Another example you could launch is the Benchmark example.
184-
This example creates either a Publisher or a Subscriber and on a successful match starts sending samples.
185-
After a few seconds the process that launched the Publisher will show a report with the number of samples transmitted.
186-
187-
On the subscriber side, run:
188-
189-
$ goToExamples
190-
$ cd dds/Benchmark/bin
191-
$ ./Benchmark subscriber udp
192-
193-
On the publisher side, run:
194-
195-
$ goToExamples
196-
$ cd dds/Benchmark/bin
197-
$ ./Benchmark publisher udp
180+
$ cd hello_world/bin
181+
$ ./hello_world subscriber
198182

199183
---
200184

0 commit comments

Comments
 (0)