https://github.com/OpenSimulationInterface/open-simulation-interface
依赖关系
安装cmake3.10.2
$ sudo apt-get install cmake
安装pip3和缺少 python 包
$ sudo apt-get install python3-pip python3-setuptools
安装protobuf3.0.0
$ sudo apt-get install libprotobuf-dev protobuf-compiler
构建和安装以供C 使用
$ git clone https://github.com/OpenSimulationInterface/open-simulation-interface.git $ cd open-simulation-interface $ mkdir build $ cd build $ cmake .. $ make $ sudo make install
构建和安装Python使用
$ git clone https://github.com/OpenSimulationInterface/open-simulation-interface.git $ cd open-simulation-interface $ sudo pip3 install virtualenv $ virtualenv -p python3 venv $ source venv/bin/activate $ python3 -m pip install .osi-visualizer
https://github.com/OpenSimulationInterface/osi-visualizer
官网测试在Ubuntu18.04可以使用
所需依赖
cmake ( 3.5)
Qt ( 5.5.0)
ZeroMQ ( 4.2.1) OSI Visualizer 需要使用 ZeroMQ 库来完成不同传感器/交通/场景模拟器之间的套接字通信。请注意 还需要 C 绑定。
protobuf ( 2.6.1)
FMILibrary ( 2.0.2)
OSI ( 3.1.2)
安装及运行
$ git clone https://github.com/OpenSimulationInterface/osi-visualizer.git $ cd osi-visualizer $ git submodule update --init $ mkdir build $ cd build $ cmake .. $ make -j8 $ ./osi-visualizerosi-sensor-model-packaging
https://github.com/OpenSimulationInterface/osi-sensor-model-packaging
安装cmake3.10.2
$ sudo apt-get install cmake
安装protobuf3.0.0
$ sudo apt-get install libprotobuf-dev protobuf-compiler
构建和安装示例
$ 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
安装完成后
lib文件在/usr/local/lib/osi3/
h文件在/usr/local/include/osi3/



