SUMO - CommonRoad Interface
This package implements the interface between the framework for motion planning of automated vehicles commonroad-io and the traffic simulator SUMO. The interface is presented in detail in our paper [1].
Documentation
Please refer to the documentation and tutorials.
To run interactive scenarios, denoted by the suffix I, from the CommonRoad database,
please use the script from the corresponding repository gitlab.lrz.de/tum-cps/commonroad-interactive-scenarios.
[1] Moritz Klischat, Octav Dragoi, Mostafa Eissa, and Matthias Althoff, Coupling SUMO with a Motion Planning Framework for Automated Vehicles, SUMO 2019: Simulating Connected Urban Mobility
Development
Dependencies
You can easily install all dependencies with poetry:
$ poetry install --with tests --with dev
Tests
To run the tests you can use:
$ export SUMO_HOME=$(whereis sumo)
$ poetry run pytest tests/ --ignore=./tests/sumocr/sumo_docker
pre-commit
pre-commit is used to run a variety of checks on the code (e.g. formatting with black).
You can install the hooks with:
$ pre-commit install
Those hooks will be run everytime you run git commit.
Documentation
The documentation is built with sphinx. Before building make sure to install the required dependencies:
$ poetry install --with docs
Than you can build the documentation with:
$ cd docs/source
$ poetry run sphinx-build -b html . ../../public
After the built finished successfully you can view in you browser by opening public/index.html from the root of the project.
If you perfomed API changes, you might need to recreate the API doc:
$ cd docs
$ poetry run sphinx-apidoc -o ./source/api ../sumocr
Metadata
Release files for sumocr 2024.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sumocr-2024.1.tar.gz | 53.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sumocr-2024.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 118.6 kB
Release files / sumocr-2024.1.tar.gz
| Download URL | sumocr-2024.1.tar.gz |
|---|---|
| Size | 53.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4fac380d99f68670eafbce74752f14f6f0d5362058c9c84b8e7d7eba10800c6
|
|
BLAKE2b-256 checksum How to use checksums |
93d98c3606cac59546e7a531a08dd6db827aaa8b9d03627864d87f3b99c3fe88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.10.14 Linux/5.15.0-87-generic
|
Release files / sumocr-2024.1-py3-none-any.whl
| Download URL | sumocr-2024.1-py3-none-any.whl |
|---|---|
| Size | 65.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d7bc53b71e89dbb0353e6a6004c138496c69391d03ed07d2d18d45664f4c23c
|
|
BLAKE2b-256 checksum How to use checksums |
10349845aedc1ac7ec9a9b17ff681688457c79d87af48534413f24efb4fdd0a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.10.14 Linux/5.15.0-87-generic
|