Skip to content

Commit 8fd54b6

Browse files
Merge pull request #738 from ApexAI/iox-#482-add-asciinema-recordings
Iox #482 add asciinema recordings
2 parents edd9f0e + 9a8058a commit 8fd54b6

File tree

15 files changed

+58
-100
lines changed

15 files changed

+58
-100
lines changed

iceoryx_examples/callbacks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ concurrently, even from inside a callback that was triggered by an event!
2424

2525
## Expected Output
2626

27-
<!-- @todo Add expected output with asciinema recording before v1.0-->
27+
[![asciicast](https://asciinema.org/a/407365.svg)](https://asciinema.org/a/407365)
2828

2929
## Code Walkthrough
3030

iceoryx_examples/callbacks/ice_callbacks_listener_as_class_member.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include <iostream>
2929

3030
std::atomic_bool keepRunning{true};
31-
constexpr char APP_NAME[] = "iox-cpp-callbacks-subscriber";
31+
constexpr char APP_NAME[] = "iox-cpp-callbacks-listener-as-class-member";
3232

3333
iox::posix::Semaphore shutdownSemaphore =
3434
iox::posix::Semaphore::create(iox::posix::CreateUnnamedSingleProcessSemaphore, 0U).value();

iceoryx_examples/callbacks_in_c/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ and at the Glossary of the
1818

1919
## Expected Output
2020

21-
<!-- @todo Add expected output with asciinema recording before v1.0-->
21+
[![asciicast](https://asciinema.org/a/407369.svg)](https://asciinema.org/a/407369)
2222

2323
## Code Walkthrough
2424

iceoryx_examples/callbacks_in_c/ice_c_callbacks_with_context_data.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ int main()
9292
signal(SIGINT, sigHandler);
9393
signal(SIGTERM, sigHandler);
9494

95-
iox_runtime_init("iox-c-callback-subscriber");
95+
iox_runtime_init("iox-c-callbacks-with-context-data");
9696

9797
// the listener starts a background thread and the callbacks of the attached events
9898
// will be called in this background thread when they are triggered

iceoryx_examples/ice_access_control/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ It provides a custom RouDi, a radar and a display application.
1010

1111
## Expected output
1212

13-
<!-- Add asciinema link here -->
13+
[![asciicast](https://asciinema.org/a/407451.svg)](https://asciinema.org/a/407451)
1414

1515
## Code walkthrough
1616

iceoryx_examples/icecrystal/Readme.md

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,17 @@
22

33
## Introduction
44

5-
> This Readme.md is slightly outdated and not all functionality of the introspection is available with v1.0
6-
75
This example teaches you how to make use of the introspection for debugging purposes. With the introspection you can
86
look into the machine room of RouDi. It shows live information about the memory usage and all
97
registered processes. Additionally, it shows the publisher and subscriber ports that are created inside the shared
108
memory.
119

12-
## Run icecrystal
10+
## Expected Output
1311

14-
We reuse the binaries from
12+
We re-use the binaries from
1513
[icedelivery](https://github.com/eclipse-iceoryx/iceoryx/tree/master/iceoryx_examples/icedelivery).
16-
Create four terminals and run one command in each of them.
17-
18-
```sh
19-
# If installed and available in PATH environment variable
20-
iox-roudi
21-
# If build from scratch with script in tools
22-
$ICEORYX_ROOT/build/iox-roudi
23-
24-
build/iceoryx_examples/icedelivery/iox-cpp-publisher
25-
26-
build/iceoryx_examples/icedelivery/iox-cpp-subscriber
27-
28-
build/iox-introspection-client --all
29-
```
30-
31-
<!-- @todo Add expected output of RouDi, publisher, subscriber and introspection with asciinema recording before v1.0-->
32-
33-
## Expected Output
3414

35-
![introspection_screenshot](https://user-images.githubusercontent.com/22388003/75041206-672feb80-54bc-11ea-8621-2acf95bf376e.png)
15+
[![asciicast](https://asciinema.org/a/407442.svg)](https://asciinema.org/a/407442)
3616

3717
## Feature walkthrough
3818

@@ -53,9 +33,9 @@ The process view will show you the processes (incl. PID), which are currently re
5333

5434
--port Subscribe to port introspection data.
5535

56-
The port view shows both publisher and subscriber ports that are created by RouDi in the shared memory. Their respective service
57-
description (service, instance, event) is shown to identify them uniquely. The columns `Process` and `Node` display to which
58-
process and node the ports belong. The service discovery protocol allows you to define the `Propagation scope` of the data. This
36+
The port view shows both publisher and subscriber ports that are created by RouDi in the shared memory. Their respective service
37+
description (service, instance, event) is shown to identify them uniquely. The columns `Process` and `Node` display to which
38+
process and node the ports belong. The service discovery protocol allows you to define the `Propagation scope` of the data. This
5939
can enable data forwarding to other machines e.g. over network or just consume them internally.
6040

6141
--all Subscribe to all available introspection data.

iceoryx_examples/icedelivery/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ It provides publisher and subscriber applications. They come in two C++ API flav
99

1010
Create three terminals and start RouDi, a publisher and a subscriber. You can also mix the typed and untyped versions.
1111

12-
[![asciicast](https://asciinema.org/a/382036.svg)](https://asciinema.org/a/382036)
12+
[![asciicast](https://asciinema.org/a/407359.svg)](https://asciinema.org/a/407359)
1313

1414
## Code walkthrough
1515

iceoryx_examples/icedelivery_in_c/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ so that we explain here only the C API differences and not the underlying mechan
1111

1212
## Expected Output
1313

14-
<!-- @todo Add expected output with asciinema recording before v1.0-->
14+
[![asciicast](https://asciinema.org/a/407361.svg)](https://asciinema.org/a/407361)
1515

1616
## Code walkthrough
1717

iceoryx_examples/iceensemble/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ Alternatively, you can use the provided [tmux](https://en.wikipedia.org/wiki/Tmu
3535
./iceoryx_examples/iceensemble/run_iceensemble.sh
3636
```
3737

38+
!!! info
39+
As `iox-subscriber-with-options` requests the blocking publisher feature, although having the same `capro::ServiceDescription` `{"Radar", "FrontLeft", "Object"}` it is only connected to `iox-publisher-with-options`
40+
3841
## Expected Output
3942

40-
<!-- add asciiema link here -->
43+
[![asciicast](https://asciinema.org/a/407432.svg)](https://asciinema.org/a/407432)
4144

4245
<center>
4346
[Check out iceensemble on GitHub :fontawesome-brands-github:](https://github.com/eclipse-iceoryx/iceoryx/tree/master/iceoryx_examples/iceensemble){ .md-button }

iceoryx_examples/icehello/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ It provides a publisher and a subscriber application.
77

88
## Expected Output
99

10-
<!-- Add asciinema link here -->
10+
[![asciicast](https://asciinema.org/a/407357.svg)](https://asciinema.org/a/407357)
1111

1212
## Code walkthrough
1313

0 commit comments

Comments
 (0)