24.09., 9:00 - 11:00: Due to updates GitLab will be unavailable for some minutes between 09:00 and 11:00.

Commit 10e0c8db authored by Moritz Klischat's avatar Moritz Klischat

updated Readme

parent cab2e669
......@@ -11,12 +11,16 @@ pip install -r requirements.txt
sudo apt-get install ffmpeg
```
And add the absolute path of `commonroad-sumo-interface` to your Python interpreter.
## Install SUMO
Clone a customized version of SUMO for smooth lane changes from https://github.com/octavdragoi/sumo and check out branch `smooth-lane-change`.
For installation we recommend building with:
```
sudo apt-get install cmake python g++ libxerces-c-dev libfox-1.6-dev libgdal-dev libproj-dev libgl2ps-dev swig
cd sumo
export SUMO_HOME="$PWD/sumo"
mkdir build && cd build
cmake ..
make -j8
......@@ -54,7 +58,7 @@ to the .sumo.cfg file of the scenario (activated by default for scenarios genera
Further options for the interface can be found in the sumo-interface config file `sumo-interface/config/default.py`.
## Minimal example for using the interface:
The file `example_scripts/minimal_example.py` gives an example how the interface can be integrated into an existing trajectory planner. For testing, the scenarios `cross_example_map` and `traci_tls` are recommended.
The file `example_scripts/minimal_example.py` gives an example how the interface can be integrated into an existing trajectory planner.
Plug in a trajectory planner and run:
```python
from sumo2cr.interface.sumo_simulation import SumoSimulation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment