File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55The names of OSI trace files should have the following format:
66
7- [source]
87----
98<timestamp>_<type>_<osi-version>_<protobuf-version>_<number-of-frames>_<custom-trace-name>.osi
109----
@@ -54,7 +53,6 @@ Given an OSI trace file with the following information:
5453
5554The recommended file name is:
5655
57- [source]
5856----
595720210818T150542Z_sv_312_300_1523_highway.osi
6058----
Original file line number Diff line number Diff line change 1111. Open a terminal.
1212. Clone the Open Simulation repository.
1313+
14- [source]
1514----
1615git clone https://github.com/OpenSimulationInterface/open-simulation-interface.git
1716----
1817+
1918 . Switch to the repository directory.
2019+
21- [source]
2220----
2321cd open-simulation-interface
2422----
2523+
2624 . Create a new directory for the build.
2725+
28- [source]
2926----
3027mkdir build
3128----
3229+
3330 . Switch to the new directory.
3431+
35- [source]
3632----
3733cd build
3834----
@@ -41,21 +37,18 @@ cd build
4137 To build a 32-bit target under 64-bit Linux, add `-DCMAKE_CXX_FLAGS="-m32"` to the cmake command.
4238 In this case, protobuf must be in 32-bit mode too.
4339+
44- [source]
4540----
4641cmake ..
4742----
4843+
4944 . Run make.
5045+
51- [source]
5246----
5347make
5448----
5549+
5650 . Install Open Simulation Interface.
5751+
58- [source]
5952----
6053sudo make install
6154----
Original file line number Diff line number Diff line change 1212. Open a terminal.
1313. Clone the Open Simulation repository.
1414+
15- [source]
1615----
1716git clone https://github.com/OpenSimulationInterface/open-simulation-interface.git
1817----
1918+
2019 . Switch to the repository directory.
2120+
22- [source]
2321----
2422cd open-simulation-interface
2523----
2624+
2725 . Create a new virtual environment.
2826+
29- [source]
3027----
3128virtualenv -p python3 venv
3229----
3330+
3431 . Activate the virtual environment.
3532+
36- [source]
3733----
3834source venv/bin/activate
3935----
Original file line number Diff line number Diff line change 1010. Open a terminal as administrator.
1111. Clone the Open Simulation repository.
1212+
13- [source]
1413----
1514git clone https://github.com/OpenSimulationInterface/open-simulation-interface.git
1615----
1716+
1817 . Switch to the repository directory.
1918+
20- [source]
2119----
2220cd open-simulation-interface
2321----
2422+
2523 . Create a new directory for the build.
2624+
27- [source]
2825----
2926mkdir build
3027----
3128+
3229 . Switch to the new directory.
3330+
34- [source]
3531----
3632cd build
3733----
@@ -40,14 +36,12 @@ cd build
4036 To build a 64-bit target, add `Win64` to the generator name.
4137 In this case, protobuf and protoc.exe must be in 64-bit mode too.
4238+
43- [source]
4439----
4540cmake .. [-G <generator >] [-DCMAKE_INSTALL_PREFIX=<osi-install-directory >]
4641----
4742+
4843 . Build and install OSI.
4944+
50- [source]
5145----
5246cmake -- build . [-- config Release]
5347cmake -- build . -- target install
Original file line number Diff line number Diff line change 1010. Open a terminal.
1111. Clone the Open Simulation repository.
1212+
13- [source]
1413----
1514git clone https://github.com/OpenSimulationInterface/open-simulation-interface.git
1615----
1716+
1817 . Switch to the repository directory.
1918+
20- [source]
2119----
2220cd open-simulation-interface
2321----
2422+
2523 . Run the setup script.
2624+
27- [source]
2825----
2926python setup.py install
3027----
You can’t perform that action at this time.
0 commit comments