Skip to main content

A tool for Behavior benchmARKing

Project description

BARK

Ubtuntu-CI Build Ubtuntu-ManyLinux Build NIGHTLY LTL Build CI RSS Build NIGHTLY Rules MCTS Build Codacy Badge

BARK - A Tool for Behavior benchmARKing

BARK is a semantic simulation framework for autonomous driving. Its behavior model-centric design allows for the rapid development, training, and benchmarking of various decision-making algorithms. It is especially suited for computationally expensive tasks, such as reinforcement learning. A a good starting point, have a look at the content of our BARK-Tutorial on IROS 2020.

Usage

(A) Pip Package

For whom it is: Python evangelists implementing python behavior models or ML scientists using BARK-ML for learning behaviors.

Bark is available as PIP-Package for Ubuntu and MacOS for Python>=3.7. You can install the latest version with pip install bark-simulator. The Pip package supports full benchmarking functionality of existing behavior models and development of your models within python.

After installing the package, you can have a look at the examples to check how to use BARK.

Highway Example Merging Example Intersection Example
Intersection Intersection Intersection

(B) Build it from Source

For whom it is: C++ developers creating C++ behavior models, researchers performing benchmarks, or contributors to BARK.

Use git clone https://github.com/bark-simulator/bark.git or download the repository from this page. Then follow the instructions at How to Install BARK.

To get step-by-step instructions on how to use BARK, you can run our IPython Notebook tutorials using bazel run //docs/tutorials:run. For a more detailed understanding of how BARK works, its concept and use cases have a look at our documentation.

Example Benchmark is a running example of how to use BARK for benchmarking for scientific purposes.

Scientific Publications using BARK

BARK Ecosystem

The BARK ecosystem is composed of multiple components that all share the common goal to develop and benchmark behavior models:

  • BARK-ML: Machine learning library for decision-making in autonomous driving.
  • BARK-MCTS: Integrates a template-based C++ Monte Carlo Tree Search Library into BARK to support development of both single- and multi-agent search methods.
  • BARK-Rules-MCTS: Integrates traffic rules within Monte Carlo Tree Search with lexicographic ordering.
  • BARK-MIQP: MINIVAN Planner based on MIQP for single- and multi-agent planning. Check out the build instructions.
  • BARK-DB: Provides a framework to integrate multiple BARK scenario sets into a database. The database module supports binary serialization of randomly generated scenarios to ensure exact reproducibility of behavior benchmarks across systems.
  • BARK-Rule-Monitoring: Provides runtime verification of Rules in Linear Temporal Logic (LTL) on simulated BARK traces.
  • CARLA-Interface: A two-way interface between CARLA and BARK. BARK behavior models can control CARLA vehicles. CARLA controlled vehicles are mirrored to BARK.

Paper

If you use BARK, please cite us using the following paper:

@inproceedings{Bernhard2020,
    title = {BARK: Open Behavior Benchmarking in Multi-Agent Environments},
    author = {Bernhard, Julian and Esterle, Klemens and Hart, Patrick and Kessler, Tobias},
    booktitle = {2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)},
    url = {https://arxiv.org/pdf/2003.02604.pdf},
    year = {2020}
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

BARK specific code is distributed under MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

bark_simulator-1.4.1-cp39-cp39-manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.9

bark_simulator-1.4.1-cp39-cp39-macosx_10_14_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

bark_simulator-1.4.1-cp38-cp38-manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.8

bark_simulator-1.4.1-cp38-cp38-macosx_10_14_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

bark_simulator-1.4.1-cp37-cp37m-manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.7m

bark_simulator-1.4.1-cp37-cp37m-macosx_10_14_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

File details

Details for the file bark_simulator-1.4.1-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

  • Download URL: bark_simulator-1.4.1-cp39-cp39-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for bark_simulator-1.4.1-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d1f55d5a78a7cdabc29d3718ac95b45e0aadf8a8093aeaf81f9169d8aa81db17
MD5 1066d022e9156029e1ef220bda361542
BLAKE2b-256 f4ad19e5b30c54e4c5c9448697ac6ea3aea93d82fb4d7d62927ddf7a3a7be749

See more details on using hashes here.

File details

Details for the file bark_simulator-1.4.1-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: bark_simulator-1.4.1-cp39-cp39-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.9, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for bark_simulator-1.4.1-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 9421d61b5e2a361b65144d81b27de93080e139645d0c713797279ccdc78166eb
MD5 7b2f43b4e4d1af54616010aea59c85c8
BLAKE2b-256 b5a4a944300f6d3f1af64751bdc083aa4d97a14e605c8b1091c781cce2383cf4

See more details on using hashes here.

File details

Details for the file bark_simulator-1.4.1-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: bark_simulator-1.4.1-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for bark_simulator-1.4.1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e4da351f790363984b2c4009b0575b9df8d5ee7984557966dcd8fc35ca656571
MD5 635458aac0b1a905b7403d2d943d3505
BLAKE2b-256 89e60c30e9981df48126d7f9ec5133e4a3d67b2d9d848fb03e59e9dbf184f7fc

See more details on using hashes here.

File details

Details for the file bark_simulator-1.4.1-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: bark_simulator-1.4.1-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for bark_simulator-1.4.1-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 1efa0898bd34ca14f350e47f6177aef2c0db4c7d0ab07933d9226822bb678235
MD5 5dc9512959c262c398f683bacdceb44c
BLAKE2b-256 035b1e082813375be9bd4cf7e8837281f2e67a779ec6d731565fcbb2dd276f6f

See more details on using hashes here.

File details

Details for the file bark_simulator-1.4.1-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: bark_simulator-1.4.1-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for bark_simulator-1.4.1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fc59679fd4226b9d1c1b2c5149fb856e0a6a62b68623bc5d76118003054f7cf2
MD5 84218b9f82ea53fb5cad5e72d7c49cc4
BLAKE2b-256 e10af13baec7a083c2d64b8a4c79ea93cde3722bfc1e3be3ce4946f0e2f82166

See more details on using hashes here.

File details

Details for the file bark_simulator-1.4.1-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: bark_simulator-1.4.1-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for bark_simulator-1.4.1-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 4ce33077d48b5a861217be9e22d94d6babf8ad87cc6e6b407a182f8b312a6aa5
MD5 a1041e00eb67c05ee9f2198490f415ad
BLAKE2b-256 2c8e0225fe59d696b0dc5b682205cf25cc4f8b8afcd95ef775eb19d286825683

See more details on using hashes here.

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