Skip to content

Read a binary ASAM OSI trace file and send it step by step via TCP using ZeroMQ

License

Notifications You must be signed in to change notification settings

openMSL/sl-5-4-standalone-osi-trace-file-player

Repository files navigation

SL-5-4 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/openMSL/sl-5-4-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 .

About

Read a binary ASAM OSI trace file and send it step by step via TCP using ZeroMQ

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published