A Toolbox for Computing Reachable Sets of Automated Vehicles
Project description
CommonRoad-Reach: A Toolbox for Reachability Analysis of Automated Vehicles
Reachability analysis has gained increasing popularity in motion planning and safeguarding of automated vehicles (AVs). While existing tools for reachability analysis mainly focus on general-purpose algorithms for formal verification of dynamical systems, a toolbox tailored to AV-specific applications is not yet available. The CommonRoad-Reach toolbox
- integrates different methods for computing reachable sets using polytopic set propagation and graph-based propagation;
- provides Python and C++ implementations of the algorithms, thus offering convenient prototyping and real-time computation for the users; and
- extracts driving corridors which can be used as planning constraints for motion planners.
System Requirements
The software is written in Python 3.10 and C++17, and was tested on Ubuntu 18.04, 20.04 and 22.04. It should be compatible with later versions. For building the code, the following minimum versions are required:
- GCC and G++: version 10 or above
- CMake: version 3.20 or above.
- Pip: version 21.3 or above
We further recommend using Anaconda to manage your virtual python environment.
Installation options
We provide two installation options for CommonRoad-Reach: Installation as a Python package or building from source.
-
Python Package: Install the python package via
pip
in your Conda environment:pip install commonroad-reach
-
Build from source: To build the project from source and install it in your Conda environment, please refer to the README_FOR_DEVS. This option is only recommended for advanced users and those who are looking to contribute to the development of CommonRoad-Reach.
Getting Started
Run the exemplary scripts to compute reachable sets and extract driving corridors.
-
To compute reachable sets, run
compute_reachable_set.py
. -
To extract driving corridors, run
extract_driving_corridors.py
.
The outputs will be stored in the ./output/
folder. Default and scenario-specific configurations are stored in the ./configurations/
folder.
Documentation
The documentation of our toolbox is available on our website: https://cps.pages.gitlab.lrz.de/commonroad-reachable-set/.
In order to generate the documentation via Sphinx locally, run the following commands in the root directory:
pip install -r ./docs/requirements_doc.txt
cd docs/Sphinx
make html
The documentation can then be launched by browsing ./docs/Sphinx/build/html/index.html/
.
Citation
If you use our toolbox for your research, please cite our paper:
@InProceedings{iraniliu2022commonroad,
title = {{CommonRoad-Reach}: {A} toolbox for reachability analysis of automated vehicles},
author = {Irani Liu, Edmond and W\"ursching, Gerald and Klischat, Moritz and Althoff, Matthias},
booktitle = {Proc. of the IEEE Int. Conf. Intell. Transp. Syst.},
pages = {2313--2320},
year = {2022},
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file commonroad_reach-2024.1.2.tar.gz
.
File metadata
- Download URL: commonroad_reach-2024.1.2.tar.gz
- Upload date:
- Size: 11.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.2 importlib-metadata/0.0.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0c03e7116beb7a006ceb49bfd4714d268c1473930c64fdb4473ea410c73ea09 |
|
MD5 | b213abb8bdb80f40bd1cd05de2759872 |
|
BLAKE2b-256 | c2c7832692861b3ee2f73252b4372bf63e32d3da40b4c8095cc41425bd63cb9e |
File details
Details for the file commonroad_reach-2024.1.2-cp311-cp311-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: commonroad_reach-2024.1.2-cp311-cp311-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.11, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.2 importlib-metadata/0.0.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42fac3b615d87c7cb447fe33f9dc56eeda80a688d357e1e87ec23393272f7d5a |
|
MD5 | 9de54fe58bb39bac3279a3599faf8a93 |
|
BLAKE2b-256 | c93aa81ef489da9373ca59e21b59083cb86bea7fdee060ef75e0159ff77908b7 |
File details
Details for the file commonroad_reach-2024.1.2-cp311-cp311-musllinux_1_1_i686.whl
.
File metadata
- Download URL: commonroad_reach-2024.1.2-cp311-cp311-musllinux_1_1_i686.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.11, musllinux: musl 1.1+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.2 importlib-metadata/0.0.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1d531db7daa73c6789e9f1b2d82aa16c0530bee43c5ad0357abbb4a7a77d762 |
|
MD5 | 3cda00a28ff441984ca1ac806bbab5a7 |
|
BLAKE2b-256 | f6cc0414f94493fa63ccd9d4fc4d18583f1bcbb459d480458a2995f2a2ba09e3 |
File details
Details for the file commonroad_reach-2024.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: commonroad_reach-2024.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.2 importlib-metadata/0.0.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e1859a35539fa23e7a66766cee3928eedabc013554461c5ef6b3f93e4b5815e |
|
MD5 | 3bec151fb24de6e633c8d07079dfe4dd |
|
BLAKE2b-256 | 9eb97638be5616cb5ee91e70e3e4d0a3ae73cbb9b231422738ccdcac6093965e |
File details
Details for the file commonroad_reach-2024.1.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: commonroad_reach-2024.1.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.2 importlib-metadata/0.0.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eace2e02e11ed32e1f503bc1549e474e1820a16bd3b45f49a025ae9404c77f7e |
|
MD5 | e4de606fcfa2495e98217226aa880d27 |
|
BLAKE2b-256 | 7e6d52a10824d761ed1d7cccf7a5b21fe96c51ab207bde99315399dcfb530866 |
File details
Details for the file commonroad_reach-2024.1.2-cp310-cp310-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: commonroad_reach-2024.1.2-cp310-cp310-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.10, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.2 importlib-metadata/0.0.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bc59aa17c212753507901d534f60bd746e6c341ac659aa446c98bab49d7301e |
|
MD5 | a314071dba791e58ddae54038a6539dd |
|
BLAKE2b-256 | 55686728372aa4f050dec9be621f8b62c99b53bba6ce183119b704f05c6f30c3 |
File details
Details for the file commonroad_reach-2024.1.2-cp310-cp310-musllinux_1_1_i686.whl
.
File metadata
- Download URL: commonroad_reach-2024.1.2-cp310-cp310-musllinux_1_1_i686.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.10, musllinux: musl 1.1+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.2 importlib-metadata/0.0.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 271c4cc094c5e49f975275b8f05d9dcce700f436e92a69bd787b6aeb8d2f3f15 |
|
MD5 | 9268cbb2e2eacccdef89ad0e548384a9 |
|
BLAKE2b-256 | dacd0270bf39c896ee34627b8c4cdc85c7eb69bcb0fba7583980c0910fcc7da7 |
File details
Details for the file commonroad_reach-2024.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: commonroad_reach-2024.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.2 importlib-metadata/0.0.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67b4622f03eb2d25b140bde4eb7c6ccb8a6f739065fb76ef478da5547bd38149 |
|
MD5 | 4563736cdaff9e830c11569490cb00b0 |
|
BLAKE2b-256 | e3d0ce14948040c664a7554bacfe2cc48f1a29c2911604ec7afbc9e4cc2aecde |
File details
Details for the file commonroad_reach-2024.1.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: commonroad_reach-2024.1.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.2 importlib-metadata/0.0.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 174951023a8db36995ae6c6d7b9e9a0ac5f4ac98d44e38bd5ba9bd8ca0ea9f24 |
|
MD5 | 62f9d10eeaff1158bdddd92a33aa9637 |
|
BLAKE2b-256 | 651a4eead38c3ee73f2598de206af3acdbcb21234c3cfbd17d22b0a4301be6c8 |
File details
Details for the file commonroad_reach-2024.1.2-cp39-cp39-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: commonroad_reach-2024.1.2-cp39-cp39-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.9, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.2 importlib-metadata/0.0.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73025dfafa2f2b402c1adc9a92088e84a9d6f84d8366f8bf4bef266e1ed33035 |
|
MD5 | 47cc8f4b330173f18d7c6c542386100c |
|
BLAKE2b-256 | c486ea90aca85a04d332411b631d7b2d97377a7ec191b2f08595d21c4560bf36 |
File details
Details for the file commonroad_reach-2024.1.2-cp39-cp39-musllinux_1_1_i686.whl
.
File metadata
- Download URL: commonroad_reach-2024.1.2-cp39-cp39-musllinux_1_1_i686.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.9, musllinux: musl 1.1+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.2 importlib-metadata/0.0.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbb5c8cc08f42f5d54b360a9573246830f61907155aff6e6632da61f85ad3728 |
|
MD5 | 2f85f746efb1f5f512927a5e14963bb7 |
|
BLAKE2b-256 | e9e5e6098dd1c48add1424f43df1f9e28939c932352d10f95e532136cbaf8f8e |
File details
Details for the file commonroad_reach-2024.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: commonroad_reach-2024.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.2 importlib-metadata/0.0.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e2093bfa1277b9d57b409db26b941add400e88d5b8bfe4a831b7cc1b5c97987 |
|
MD5 | 0a776e9810b60ef851f93d5ec9118e34 |
|
BLAKE2b-256 | d81ef19a4e0d3e86d513bba50f6ba4a39a50bc511ec840bc4131596c8e525a42 |
File details
Details for the file commonroad_reach-2024.1.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: commonroad_reach-2024.1.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.2 importlib-metadata/0.0.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba0094aeb9f9a806ae74858631d8ebfc99d30af295183a9b6ff94c75f45e8581 |
|
MD5 | a6d1e378bb4e2d1655ba1e1c2d5125b4 |
|
BLAKE2b-256 | fe62599abf7dcd2214fc578550fd93d69016795fc054c5063e91f9b1d7a1f61c |
File details
Details for the file commonroad_reach-2024.1.2-cp38-cp38-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: commonroad_reach-2024.1.2-cp38-cp38-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.8, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.2 importlib-metadata/0.0.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62702f31dc0cb0ec0ac1b4f7acbdb5dd09705d3423646c09ebf3b99c66a951ec |
|
MD5 | 8d07655bcafe78db61ece16f1aa77ebc |
|
BLAKE2b-256 | 1462985313a357ab4c9c7ee73e469cbcfdc4f31cf0550c0fd818374a656b8aeb |
File details
Details for the file commonroad_reach-2024.1.2-cp38-cp38-musllinux_1_1_i686.whl
.
File metadata
- Download URL: commonroad_reach-2024.1.2-cp38-cp38-musllinux_1_1_i686.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.8, musllinux: musl 1.1+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.2 importlib-metadata/0.0.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12c9e4de091f203d04084179a45a8f59cbf0649a84079efd48887f579e037ae1 |
|
MD5 | 32abf683b1d373aa34028e661e194a01 |
|
BLAKE2b-256 | fabf8eb6c641e5328da335bf884acb38995257795820adee0f79dd95412401d0 |
File details
Details for the file commonroad_reach-2024.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: commonroad_reach-2024.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.2 importlib-metadata/0.0.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63c778f5a3fd93fec51159076627bea50a7bb208ef1cde969b6ef4a4e289dfe4 |
|
MD5 | a4b361f8c90485f23ff76617c8b80d58 |
|
BLAKE2b-256 | 380bc4a48933161211921d58242d9120bbf3bf4de587dda89811a73cced955eb |
File details
Details for the file commonroad_reach-2024.1.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: commonroad_reach-2024.1.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.2 importlib-metadata/0.0.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96f09038ace9fbc484e5c6db260118b4675a624673aab98cc499606e573e2857 |
|
MD5 | 29fdf20c68281fb59c067e975581feb2 |
|
BLAKE2b-256 | 4aa96d8f78a0ef0d4a241dab275bf184fc5335db0c9bec933ab3682ed6fd2eef |