A tool for Behavior benchmARKing
Project description
BARK - a tool for Behavior benchmARKing
BARK is a semantic simulation framework for autonomous agents with a special focus on autonomous driving. Its behavior model-centric design allows for the rapid development, training and benchmarking of various decision-making algorithms. Due to its fast, semantic runtime, it is especially suited for computationally expensive tasks, such as reinforcement learning.
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-DB: Provides a framework to integrate multiple BARK scenario sets into a database. The database module supports binary seriliazation of randomly generated scenarios to ensure exact reproducibility of behavior benchmarks accross systems.
-
BARK-Rule-Monitoring: Provides runtime verification of LTL Rules 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.
Quick Start
Pip-package
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. The pip-package not yet includes MCTS and Carla interfaces.
After installing the package, you can have a look at the examples to check how to use BARK.
Highway: ' import bark.examples.highway
:
Merging: import bark.examples.merging
:
Intersection: import bark.examples.intersection
:
Development setup
If you want to write own behavior models in C++ or contribute to the development of 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.
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}
}
License
BARK specific code is distributed under MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for bark_simulator-1.0.3-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78576c7c426bb4cc42363bad525da6a9c6fce65e7d2fb1cf4f8f37bf51a561b4 |
|
MD5 | 2b64fbd916596f7b1ff929ec19fcc6c7 |
|
BLAKE2b-256 | ca71edfeea40f6aabded91cc8c3fe9d3cf5089118fcb0cc134fdb263f7c2c246 |
Hashes for bark_simulator-1.0.3-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7776663941e5e5146d1c23641f0d160a7e0c483fb9ffe8c5e886c175a875225 |
|
MD5 | c68419d5d71aa2b082f36fd720911aec |
|
BLAKE2b-256 | 67a1a5c27e9d23f5b4749dedb6784b326ce2cf453188d30b97bf20a25b1e65a7 |
Hashes for bark_simulator-1.0.3-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60fbe0f6ffe26c823e346c915c2f7b385db83a30e8e127921e893f1c761e469e |
|
MD5 | 1bf4c1c932e51df2ad99e8ae3de3afcb |
|
BLAKE2b-256 | a5e1ee1793c36faa2f3dab43806caed563d3b97cdc8ed6b61cd88521ae4231f4 |
Hashes for bark_simulator-1.0.3-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11277e7a4a1806e5bb84e84ad5f572287309e0e19671a5f1ffd9553a970e8a8b |
|
MD5 | 3a66b1e8f1554615a77b1a91df0335f2 |
|
BLAKE2b-256 | 07871bf681a56d06123de5046ccbd72a7d5867a27a46ce3eb5703a231bf7510d |
Hashes for bark_simulator-1.0.3-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbf4d3cfad8362dd08b64aeba18416772eaa28e7c23eed2e24d0686944a31a7d |
|
MD5 | 7b2332fad499f5c6e7b658838cbb1ef1 |
|
BLAKE2b-256 | 9508c7a4b9e9681374be9fc4ee5db10635574b69492993942baf104b96c99ded |
Hashes for bark_simulator-1.0.3-cp37-cp37m-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53ad73dcdefcd17b81ffc00de7b74ba4fcb8bb194620fa2de629a7a8d0b9d15b |
|
MD5 | 1a0272bb467e6c72916456db618a9a45 |
|
BLAKE2b-256 | 38f59f16e04dabfa07c36e598af58c6d35aa5f6f77c0c7cc46a7dcbaf6f51ff0 |
Hashes for bark_simulator-1.0.3-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 202453c06bbc9e6a7ec49ecccb0c5994c3b7d4d34db268e328f0751d9311d939 |
|
MD5 | 58cbd094505d15341923a8341ea51d36 |
|
BLAKE2b-256 | c39c0ab777ecbf8b9f84d5237f2c8b12c37ceb3e0a0d9aff14597fb9a1c69702 |