Installation
This interface couples the framework for motion planning of automated vehicles based on CommonRoad_io and the traffic simulator SUMO.
Prerequisites
Install SUMO or use dockerized SUMO interface
There are two options for interfacing with Sumo:
Install Sumo locally as described here: https://sumo.dlr.de/docs/Installing/index.html
Use the integrated dockerized version of Sumo. To use dockerized sumo simulation, you have to install docker and follow the postinstall instructions as well, to ensure that you can use the Docker without root privileges. For using this option, simply call the simulation functions with the option
use_docker=True
in the simulation scripts of https://gitlab.lrz.de/tum-cps/commonroad-interactive-scenarios.
Installation
The package is written in Python 3.8 and tested on Ubuntu. Install either via
pip install sumocr
or clone from our gitlab
git clone https://gitlab.lrz.de/tum-cps/commonroad-sumo-interface.git
pip install .