Agent simulation with behavior models for CommonRoad
Project description
CommonRoad Agent Simulation
This repository comprises module to perform multi agent simulations with CommonRoad scenarios. Dynamic obstacles in a scenario can be replaced by agents with certain behavior models implemented in this repository. This allows to perfom simulations with interacting traffic participants that do not follow predefined trajectories but react on other traffic participants.
Supported Behavior Models
If nothing specified the dynamic obstacles in a scenario move according to the predefined trajectories.
If assigned like shown in the examples, the scenario can be simulated forward with the step()
while the considered dynamic obstacles behave according to the specified behavior model.
Currently, the following behavior models are implemented:
IDM
The IDM is a well known car following model. It does not include lane changes and is suited best for highway scenarios. An example can be found here
MOBIL
MOBIL is an extension of the IDM with lane change decisions. An example can be found here
LEVEL_0_POLICY
The level 0 policy defines a basic behavior of an interaction unaware traffic participant. This policy will be used to train higher level agents with reasoning hierarchy.
Installation
The following need to be installed on your machine:
Requirements
- Python >= 3.6
Installation via pip:
pip install commonroad-agent
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 Distribution
File details
Details for the file commonroad_agent-1.2.0.tar.gz
.
File metadata
- Download URL: commonroad_agent-1.2.0.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/2.7.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba6b9cd44be31c582c6bb2f653177444996ec3d45ffcacddd14f5331ac9ee6e8 |
|
MD5 | cfaaa2080d4a42110357843571cc9883 |
|
BLAKE2b-256 | 456e51f141823f7970dcdb8d064b4a883259414feef2ff077738fdc95244532f |
File details
Details for the file commonroad_agent-1.2.0-py2-none-any.whl
.
File metadata
- Download URL: commonroad_agent-1.2.0-py2-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/2.7.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2608385dfd5a30a3b759286cce9f3046985ddbc678a1f6d4d4d5f00cc2dca88c |
|
MD5 | f3c3c27747da9b3ca6c77937eb130146 |
|
BLAKE2b-256 | d57bd992f127f9d2af8da04f1abcf1aedc600be9b0e6f5170f80c5a843483e8f |