Skip to content

OSMP FMU to write received SensorData into a binary OSI trace file

License

Notifications You must be signed in to change notification settings

openMSL/sl-5-6-osi-trace-file-writer

Repository files navigation

SL-5-6 OSI Trace File Writer

This FMU is able to write binary OSI SensorData trace files. The folder the trace files shall be written to has to be passed as FMI parameter trace_path. The trace file writer is build according to the ASAM Open simulation Interface (OSI) and the OSI Sensor Model Packaging (OSMP) examples.

FMI Parameters

Parameter Description
trace_path Path, where to put the generated trace file
protobuf_version Protobuf version, with which the OSI messages are serialized as string, e.g. "2112" for v21.12 (see Naming Convention)
custom_name Custom name as a suffix for the trace file name (see Naming Convention)
type OSI message type string according to the Naming Convention

Installation

Dependencies

Install cmake (at least version 3.10.2):

sudo apt-get install cmake

Install protobuf (at least version 3.0.0):

sudo apt-get install libprotobuf-dev protobuf-compiler

Clone with submodules

git clone https://github.com/openMSL/sl-5-6-osi-trace-file-writer.git
cd sl-5-6-osi-trace-file-writer
git submodule update --init

Build

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

About

OSMP FMU to write received SensorData into a binary OSI trace file

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published