Skip to content

This document specifies the ways in which sensor models are to be packaged for use in simulation environments with FMI 2.0

License

Notifications You must be signed in to change notification settings

dbeckerAC/osi-sensor-model-packaging

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSI Sensor Model Packaging

Build Status

OSI Sensor Model Packaging specifies ways in which models (like e.g. environmental effect models, sensor models and logical models) using the Open Simulation Interface (OSI) are to be packaged for their use in simulation environments using FMI 2.0. The specification can be found in the doc/specification.rst document in this repository.

For more detailed information see the official documentation.

Usage

The examples in the directory examples of this repository can be built using CMake. They require that the open-simulation-interface submodule of the repository is populated.

The OSMPDummySource example can be used as a simplistic source of SensorView (including GroundTruth) data, that can be connected to the input of an OSMPDummySensor model, for simple testing and demonstration purposes.

The OSMPCNetworkProxy example demonstrates a simple C network proxy that can send and receive OSI data via TCP sockets.

The OSMPDummySensor example can be used as a simple dummy sensor model, demonstrating the use of OSI for sensor models consuming SensorView data and generating SensorData output.

Installation

Dependencies

Install cmake 3.10.2:

$ sudo apt-get install cmake

Install protobuf 3.0.0:

$ sudo apt-get install libprotobuf-dev protobuf-compiler
Build and install example
$ git clone https://github.com/OpenSimulationInterface/osi-sensor-model-packaging.git
$ cd osi-sensor-model-packaging
$ git submodule update --init
$ cd examples
$ mkdir -p build
$ cd build
$ cmake ..
$ make
$ sudo make install

About

This document specifies the ways in which sensor models are to be packaged for use in simulation environments with FMI 2.0

Resources

License

Stars

Watchers

Forks

Packages

No packages published