Skip to main content

Reachability Analysis with zonotypes

Project description

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/

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

reachab-0.4.14.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

reachab-0.4.14-py2-none-any.whl (10.8 kB view details)

Uploaded Python 2

File details

Details for the file reachab-0.4.14.tar.gz.

File metadata

  • Download URL: reachab-0.4.14.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for reachab-0.4.14.tar.gz
Algorithm Hash digest
SHA256 64452f4614964abb58b573f65deebb6e080cc3e6c795c72a2dab773f3163d0a2
MD5 d5563862d39e57001c9c4598dc21238a
BLAKE2b-256 d40d2cf3e9d07367469ddc5f0206ca9738b62439dd7d46264bd153db7f33cadb

See more details on using hashes here.

File details

Details for the file reachab-0.4.14-py2-none-any.whl.

File metadata

  • Download URL: reachab-0.4.14-py2-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 2
  • Uploaded using 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

File hashes

Hashes for reachab-0.4.14-py2-none-any.whl
Algorithm Hash digest
SHA256 6cd6f53e2ec0c40a16e454234b20536b4d9efd81a8af1a0c08a6033d028c9410
MD5 aaee3dc2faf163cf9dabf2f087e07509
BLAKE2b-256 a461a02b6957a9f1536f3265ecce93b35765b7aeaeef47d8ef36aa7b3c12a4d7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page