Reachability Analysis
Reachability Analysis (RA) for hybrid systems:
- RA with zonotypes
Installation
pip install reachab
Usage
After installation with bash pip install reachab, you could test the installation with reachab.test_me
or running the script:
import reachab as rb
import numpy as np
import matplotlib.pyplot as plt
Omega_0 = {'c': np.matrix([[80],
[0],
[10],
[3]
]),
'g': np.matrix([[1, -1],
[1, 1],
[0, 0],
[0, 0]
])
}
U = {'c': np.matrix([[0],
[0],
[0],
[0],
]),
'g': np.matrix([[1, 0],
[0, 1],
[0, 0],
[0, 3]
])
}
# zonoset=reach(Omega_0, U, params)
R, X, obj_reach, zonoset=rb.reach_zonotype_without_box(Omega_0, U, **{"time_horizon": 2.2, "steps": 4, "visualization": "y", "face_color": "green"})
all_inside_points=rb.points_inside_hull(zonoset)
rb.plot_all_inside_points(all_inside_points)
plt.grid()
plt.show()
... should produce:
Citation
Please cite following document if you use this python package:
@inproceedings{hartmann2019optimal,
title={Optimal motion planning with reachable sets of vulnerable road users},
author={Hartmann, Michael and Watzenig, Daniel},
booktitle={2019 IEEE Intelligent Vehicles Symposium (IV)},
pages={891--898},
year={2019},
organization={IEEE}
}
Image source: https://www.pexels.com/photo/photo-of-multicolored-abstract-painting-1193743/
Metadata
Release files for reachab 0.4.17
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| reachab-0.4.17.tar.gz | 9.1 kB | Without provenance | Details for reachab-0.4.17.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reachab-0.4.17-py2-none-any.whl | Python 2 | none | any | Details for reachab-0.4.17-py2-none-any.whl |
Total release size: 19.9 kB
Release files / reachab-0.4.17.tar.gz
| Download URL | reachab-0.4.17.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f64ad928686ec068370f3160850f4f42e4b289d94db3501fe582e9b15f9efe8
|
|
BLAKE2b-256 checksum How to use checksums |
6d6c92d8de365c9e9010e290eed757e5848f916764fe4d520bd76002fb30d6d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.7.1 requests/2.26.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/2.7.17
|
Release files / reachab-0.4.17-py2-none-any.whl
| Download URL | reachab-0.4.17-py2-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
eaeddbfd2dd2484994a89de570e0c1cff88b6774220e77228a49a4bccbeb83ee
|
|
BLAKE2b-256 checksum How to use checksums |
cc7773224cb9c267e83c7c928a0e36e556b00d94de3e824845bfb6ef145cc628
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.7.1 requests/2.26.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/2.7.17
|
Security for reachab 0.4.17
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.