Codebase for for our version of highway-way modified for iPLAN paper
Project description
Heterogeneous Highway-env for iPLAN
Our forked version of highway-env used in our paper:
More details could be found in the main page of highway-env and iPLAN.
Installation
pip install HighwayEnv-iPLAN
Major Changes
- Add two behavior-driven vehicle models,
DefensiveVehicle
andAggressiveVehicle
invehicle/behavior.py
. - Add multi-agent support for
Highway
scenario given inenvs/highway_env.py
, modify theMultiAgentWrapper
invehicle/common/abstract.py
. - Add three heterogeneous traffic scenarios,
HighwayEnvHetero
,HighwayEnvHetero_H
andHighwayEnvHetero_VH
inenvs/highway_env.py
, with vehicle ID broadcasting and different behavior-driven vehicles. - Add multi-agent support for visualization in
Highway
scenario that allows a camera following each agent and visualize their surroundings from their respective viewpoints.
Animation
The animation shows 5 such learning agents (Green) with their surroundings from their respective viewpoints. Behavior-driven vehicles in the environment include: Normal (Blue), Aggressive (Purple) and Defensive (Yellow). Vehicles terminate (Red) when colliding with other vehicles.
iPLAN in chaotic (hard) scenario of Heterogeneous Highway
(Num of agents succeed: 5, Avg. survival time: 90, Avg. speed: 21.81).
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
Close
Hashes for Heterogeneous_Highway_Env-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a6a48c6967d97f10b10df638c6c6d2de574cdf29e84525a2d72ccba2ff9b3ee |
|
MD5 | e0ab83f50bfa3805058fd9d7f307a19a |
|
BLAKE2b-256 | 5620b3ea7a410dac7fe4239d6327c779b4eff9c551b2dd3d86a6ed6221e76d7a |
Close
Hashes for Heterogeneous_Highway_Env-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3f42f34f78dd1459e0bbb20b5b0417a40f733659464463987f022fb0553a3d4 |
|
MD5 | 4fbb7f654f77e5901c8033c699ea97b6 |
|
BLAKE2b-256 | 3722e7b411c9a13fff0dbae215c13e94b7ffc7b9128df8a3f3c958d6c160b4d9 |