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.6-cp39-cp39-manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.9

bark_simulator-1.4.6-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.6-cp38-cp38-manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.8

bark_simulator-1.4.6-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.6-cp37-cp37m-manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.7m

bark_simulator-1.4.6-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.6-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

  • Download URL: bark_simulator-1.4.6-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.6-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2f8536789e6ba618fc3e5309887ff811d1efdb42a46ff1ede0892037a678bd33
MD5 d4f7cdd516303c1a0710af8ec63f31c6
BLAKE2b-256 9ab47c228f25b6f386d33cd61c64d21dc85cda38e1ff60afae99fc7d08397d96

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bark_simulator-1.4.6-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.6-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 fcdf528e56e603b30ae55615fbdc227516aa61edf04be287baa95910d2cf3a3a
MD5 3f87a3390bd180d1021ee86630ae2667
BLAKE2b-256 a8a352fc29896d8cefc093b875b16de516d73a80147f0a1d184a658db4ef57b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bark_simulator-1.4.6-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.6-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ab7aba03deaabeb6b3a17c9104270a0ac040abde7cb4126b16b85467cd50cb49
MD5 421e3fabc0d9ea6110a04a9080c0b5e6
BLAKE2b-256 ead793fd1a62495fb91d542d5da0bf6f6496e1120cb23acb7b7313475db53143

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bark_simulator-1.4.6-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.6-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d46492aee1bedaa60668662900738120a75cefa07d4cba285a9f3e64cf63fcd1
MD5 34525e214a49901f0fb715e19ae67392
BLAKE2b-256 1a585e34c64128f11b4e4451048af01caa2ae48a4a157f724e0d4e15ff57e6cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bark_simulator-1.4.6-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.6-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 388521199884c7a0b39bd0a37d3b017c57b4803a58b8eb88b7a995200fd65b96
MD5 e69d4938b26350d8ab40538d7474ac75
BLAKE2b-256 14b8020cbc55e449dca0a6f9aecf2f1b6a7394cc0a8077dffc5787994b124c0c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bark_simulator-1.4.6-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.6-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 70d3d577c9b69d7799c87446ba5fbdfc4fa35010dfd8afa2d5ab140f5bb6b48c
MD5 ffda938bf7d550507a2a246e4a55b7b4
BLAKE2b-256 7ba24000acdcdc16cc75a61440b55c577080c37e9d9bd06ee445f739c0119dc5

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