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.

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 in this repository.

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-2.0.0.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-2.0.0-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

File details

Details for the file promis-2.0.0.tar.gz.

File metadata

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

File hashes

Hashes for promis-2.0.0.tar.gz
Algorithm Hash digest
SHA256 dfaf8bc69a79b0d8f4bbc2a9a7a1a2f01bf2fc38e2946788a7fb993b1107c1cd
MD5 a7691c66c6ab63637f38733fed29c10a
BLAKE2b-256 3fbdd52bea679d04a992d7e3e55a9eba44cf9bad6390d4589176df533180911e

See more details on using hashes here.

Provenance

The following attestation bundles were made for promis-2.0.0.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-2.0.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for promis-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79f89d4d8b8e76dd3eb69f2bb4cc87e3c10190c8b7c5fb9448cc4ea6d3acc8f9
MD5 ae4e8f2b77d9bc7c58b351951fd0bae4
BLAKE2b-256 7b6343da0880d512fe643d95bac0d29c763c7632ea87a5b8686071abc8523ed7

See more details on using hashes here.

Provenance

The following attestation bundles were made for promis-2.0.0-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