You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 21, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+26-9Lines changed: 26 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
Visualization tool for OSI messages. This software serves as visualization tool for the current implementation of the [OSI (Open Simulation Interface)](https://github.com/OpenSimulationInterface/open-simulation-interface) mesages.The osi-visualizer supports to visualize the OSI GroundTruth and SensorData messages. It supports two independent visual channels with two different input types (file and network stream).
Some software library dependencies are needed to run the osi-visualizer:
@@ -12,7 +14,7 @@ Some software library dependencies are needed to run the osi-visualizer:
12
14
The osi-visualizer needs to use ZeroMQ libraries to complete the socket communication between different sensor / traffic / scenario simulators. Note that the C++ Bindings are required as well.
The required version of Open Simulation Interface(https://github.com/OpenSimulationInterface/open-simulation-interface.git) is referenced as a git submodule, so be sure to run git submodule init && git submodule update after cloning the osi-visualizer repository.
17
+
The required version of [Open Simulation Interface](https://github.com/OpenSimulationInterface/open-simulation-interface.git) is referenced as a git submodule, so be sure to run `git submodule init` && `git submodule update` after cloning the osi-visualizer repository.
16
18
17
19
If the CMake build process does not automatically locate the required libraries, please use the usual CMake options to set the relevant CMake variables to the proper paths.
18
20
@@ -32,10 +34,11 @@ Currently we strongly recommend users to use the osi-visualizer under Ubuntu Lin
32
34
### From QtCreator:
33
35
Open New Project -> CMakeLists.txt
34
36
35
-
36
37
## Usage
37
38
### Connection:
38
-
The channel receives osi message from the network with specific IP address, Port number and data type.
39
+
The channel receives osi message from the network with specific IP address and Port number, and shows up different data types.
The channel receives osi message from the loaded file. The tool will check a header file of same name with a extension: .txth. If it doesn't exist, the tool will create one automatically for the first time.
@@ -45,24 +48,38 @@ Example: set it to 10 ms, each message will have 10 ms more delay for playing.
45
48
46
49
Besides the tool provides sending out osi message to network with specific port number.
Log or cut out part of the osi message stream. Current the threshold is 100 osi messages. It can be saved to another osi file.
54
+
Log or cut out part of the osi message stream and save it to another file. By default the threshold is 1000 osi messages. User can change this threshold in the config file.
50
55
51
56
52
57
## Menu options
53
58
### File Menu:
54
-
"Play" -> play/pause Channel 1;
59
+
`Play` -> play/pause Channel 1 by default.
60
+
61
+
`Python Compare` -> A standalone compare tool to compare two osi message file directly. By default, it takes the playback file from these two channels. It supports flexible selecting random file as well. Just put the python scripts into folder: ./Resources/Python/ before start this tool. Then all the scripts will be shown up in the "Python Scripts" select menu. The compare script should take the two osi files' full path as arguments. The compare result can be exported to a text file by clicking the "Export" button.
55
62
56
-
"Python Compare" -> A standalone compare tool to compare two osi message file directly. By default, it takes the playback file from these two channels. It supports flexible selecting random file as well. Just put the python scripts into folder: ./Resources/Python/ before start this tool. Then all the scripts will be shown up in the "Python Scripts" select menu. The compare script should take the two osi files' full path as arguments. The compare result can be exported to a text file by clicking the "Export" button.
63
+
`Quit`-> Quit the visualizer.
57
64
58
65
### View Menu:
59
-
"Combine Channels" -> Config two channels' "Play/Pause' button act simultaneously, or not. It can only be checked when the channels are at the same status: both "Play" or "Pause". By default, it is unchecked.
66
+
`Combine Channels` -> Config two channels' "Play/Pause" simultaneously, or not. It can only be checked when the channels are at the same status: both "Play" or "Pause". By default, it is unchecked.
60
67
61
-
"Show Grid" -> Show up the grid in the canvas. By default, it is checked.
68
+
`Show Grid` -> Show up the grid in the canvas. By default, it is checked.
62
69
63
-
"Show Object details" -> Select object from the Objects Overview tree. Show up the selected object's position, velocity and acceleration in another independent dialog. By default, it is checked.
70
+
`Show Object details` -> Select object from the Objects Overview tree. Show up the selected object's position, velocity and acceleration in another independent dialog. By default, it is checked.
64
71
65
72
The others are self-explaining.
66
73
67
74
## Notice
68
75
When playing large osi files, try to adapt the Delta Delay. Then the tool renders smoothly.
76
+
77
+
78
+
## Run time screen shot
79
+
Channel 1 plays an osi input file and sends out the osi message to port 5564 at the same time.
80
+
Channel 2 receives osi message from port 5564 and shows up on the canvas.
81
+
82
+

0 commit comments