Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Commit

Permalink
Add usage example (#62)
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Rosin <maximilian.rosin@parson-europe.com>
  • Loading branch information
max-rosin committed Jun 3, 2021
1 parent 3b290dc commit 96ae671
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions doc/misc/example_visualizer.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
= Example use of OSI Visualizer

In this example, channel 1 of OSI Visualizer reads a trace file containing `SensorView` messages and publishes these messages at port 5564.
An intermediary runs at localhost using a OSMP sensor model .
The intermediary processes `SensorView` messages received at port 5564, transforms them into `SensorData` messages, and sends them to port 5563.
OSI Visualizer listens at port 5564 for `SensorData` messages and visualizes them in channel 2.

[[image-demo]]
image::demo.png[title = "Example configuration of OSI Visualizer."]

After clicking **Play** for channel 1 and 2, OSI Visualizer visualizes the communication between the two channels.
Channel 1 plays the selected OSI input file scenario and sends out the OSI message to port 5564 at the same time.
Channel 2 visualizes the received OSI messages at localhost at port 5563 showing it on the canvas.
2 changes: 2 additions & 0 deletions doc/osi-visualizer_user_guide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ include::./use/saving_messages.adoc[leveloffset=+2]
include::./use/comparing_messages.adoc[leveloffset=+2]

include::./use/configuring_view.adoc[leveloffset=+2]

include::./misc/example_visualizer.adoc[leveloffset=+2]

0 comments on commit 96ae671

Please sign in to comment.