/standalone-osi-trace-file-player

Primary LanguageC++Mozilla Public License 2.0MPL-2.0

Standalone OSI Trace File Player

Build Linter SPDX

This mini application can read a binary ASAM OSI trace file (SensorData or SensorView) and send it step by step via TCP using ZeroMQ.

Usage

./standalone_osi_trace_file_player <path/to/trace/file.osi> <step_size_in_ms> <ip.address> <port>

The player will read in the trace file step by step and send it via TCP to the given IP address and port (e.g. 127.0.0.1:3456). The player will wait the given step size in ms before sending the next time step.

Build Instructions

Build Model in Ubuntu 20.04 / 22.04

  1. Clone this repository with submodules:

    git clone https://github.com/Persival-GmbH/standalone-osi-trace-file-player.git --recurse-submodules
  2. Install dependencies:

    sudo apt install libzmq3-dev
  3. Build the model by executing in the extracted project root directory:

    mkdir build
    cd build
    cmake ..
    cmake --build .