Git Product home page Git Product logo

osi-visualizer's Introduction

OSI Visualizer

OSI Visualizer build pipeline

OSI Visualizer serves as a visualization tool for the current implementation of OSI (Open Simulation Interface) messages. It supports GroundTruth, SensorView and SensorData messages and allows the visualization of two independent data channels using different input types (file and network stream). For more information see the documentation here.

Usage

Use the configuration panel at the right (see Screenshot below) to load e.g. a OSI trace file for channel 1 at Playback and choose a port to which it will be send (here 5564). Select the data type SensorView according to the content of the file. After that enter into the IP field the localhost and into the port field the receiving port (here 5563) for channel 2 in the panel below at Connection. Select the data type it is expected to visualize (here SensorData). In this example an intermediary on localhost processes the data from the input file using a OSMP sensor model, transforms it into SensorData and sends it to port 5563.

Now you can click on play for channel 1 and 2 and you can visualize the communication between these 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 (see demo screenshot below).

Installation

Environment and dependencies

Currently we recommend users to use the osi-visualizer under Ubuntu Linux 18.04 LTS. You can see a working development environment based on Ubuntu 18.04 LTS in the Docker file in the repository.

  • cmake (>= 3.5)
  • Qt (>= 5.5.0)
  • ZeroMQ (>= 4.2.1) 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.
  • protobuf (>= 2.6.1)
  • FMILibrary (>= 2.0.2)
  • OSI (>= 3.1.2)

It is often a good idea to first update the system using

$ sudo apt-get update && sudo apt-get upgrade && sudo apt-get autoremove

to ensure up-to-date packages.

You can install package dependencies using the provided install-deps.sh, and OSI and FMILibrary build dependencies using the provided build-install-build-deps.sh:

$ sudo bash install-deps.sh
$ sudo bash build-install-build-deps.sh

Build and run

$ bash build.sh
$ ./build/osi-visualizer

or just manually if dependecies are already installed:

$ git clone https://github.com/OpenSimulationInterface/osi-visualizer.git
$ cd osi-visualizer
$ git submodule update --init
$ mkdir build
$ cd build
$ cmake ..
$ make -j8
$ ./osi-visualizer

osi-visualizer's People

Contributors

eknabevcc avatar haoyuanying avatar jdsika avatar kmeids avatar mepping avatar nreischl avatar pmai avatar tbleher avatar vkresch avatar yang-wu-altran avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.