Skip to main content

A Python package to apply probabilistic logic programming to navigation tasks.

Project description

Probabilistic Mission Design

This repository implements Probabilistic Mission Design (ProMis). ProMis enables users to formalize their knowledge of local rules, such as traffic regulations, to constrain an agent's actions and movements. To achieve this, we employ probabilistic first-order logic, a mathematical framework that combines formal reasoning with probabilistic inference. This provides a weighted belief whether the encoded rules are satisfied for a state or action.

Using ProMis, we pave the way towards Constitutional Agents. Such agents can give reasons for their actions and act in a principled fashion even under uncertainty. To this end, ProMis provides high-level, easy-to-understand, and adaptable control over the navigation process, for example, to seamlessly integrate local laws, operator requirements, and environmental uncertainties into logical and spatial constraints.

Using ProMis, scalar fields of the probability of adhering to the agent's constitution are obtained across its state space. These can then be utilized for tasks such as path planning, automated clearance granting, explaining the impact of, and optimizing mission parameters. For instance, the following shows ProMis being applied in a diverse set of scenarios, with a high probability of satisfying all flight restrictions being shown in blue, a low probability being shown in red, and unsuitable spaces being transparent.

Installation & Usage

To install ProMis, please follow the instructions here. For an in-depth walkthrough on applying ProMis in your own applications, you can check our usage guide. An interactive version of the usage guide is also available.

Cite

Please consult and cite the following publications for an in-depth discussion of the methods implemented in this repository.

For specific use cases, please cite the following works as well.

Documentation

ProMis' documentation is available online. It can also be built locally with the following commands.

git clone 
pip install ".[doc]"

mkdir -p doc/source/notebooks
cp examples/*.ipynb doc/source/notebooks
sphinx-build -b html doc/source _build/html

To view the documentation, open the file ProMis/doc/build/html/index.html using the browser of your choice.

Contributing

This project is set up to be checked and formatted with ruff check and ruff format. Use pytest to run automated tests.

License

Copyright (c) 2023 Simon Kohaut, Honda Research Institute Europe GmbH, Felix Divo, and contributors. See LICENSE.md for details.

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

promis-4.0.0.dev1.tar.gz (3.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

promis-4.0.0.dev1-py3-none-any.whl (3.0 MB view details)

Uploaded Python 3

File details

Details for the file promis-4.0.0.dev1.tar.gz.

File metadata

  • Download URL: promis-4.0.0.dev1.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for promis-4.0.0.dev1.tar.gz
Algorithm Hash digest
SHA256 a4e26466849c0fbf762ea72d885d358e6d35a499016326813cff1d5669b9a496
MD5 35bcf0f0d992704e21f936a071b2838d
BLAKE2b-256 18af784e60a17ee79084186abdaf947999ce20a06b1dc62e656455056ffa407b

See more details on using hashes here.

Provenance

The following attestation bundles were made for promis-4.0.0.dev1.tar.gz:

Publisher: python-publish.yml on HRI-EU/ProMis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file promis-4.0.0.dev1-py3-none-any.whl.

File metadata

  • Download URL: promis-4.0.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for promis-4.0.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 b23176185c6510bcd6992ea702938c62dd7b359b9a49d9240981756905cc2cb0
MD5 9ec239f463fda9a82382e0cab8ebb25d
BLAKE2b-256 4a80020e26bed46bc212c951dda0a1c73d9cde27c309c8e58eb76aa91afa7b4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for promis-4.0.0.dev1-py3-none-any.whl:

Publisher: python-publish.yml on HRI-EU/ProMis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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