Treffer: betterosi - a python library for reading and writing open-simulation-interface files using betterproto2
Weitere Informationen
A python library for reading and writing ASAM OSI (Open-Simulation-Interace) files (either .osi binary traces or MCAP files) using betterproto2 instead of the default protobuf generated code (better typing and enum support). Supports writing and reading either mcap or osi files with betterosi.Writer and betterosi.read. View OSI or MCAP file containing OSI GroundTruth betterosi-viewer <filepath.mcap / filepath.osi>(adapted from esmini) Convert osi to mcap with betterosi-to-mcap <filepath to osi The library uses code from esmini (betterosi/viewer.py) under MPL 2.0 license and the code from open-simulation-interface to read osi traces (betterosi/osi3trace.py). The library uses code generation of python-betterproto2-compiler to generate python code from the protobuf definitions of open-simulation-interface. Since OSI and esmini are under MPL, also this repository is published under MPL-2.0 license.