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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | abc542e9478d1470fb332ee7fbf80b4c8242ab318c0f639da8502be069166b89 |
|
MD5 | e0786b664cc49fbab3926a9c13957fd8 |
|
BLAKE2b-256 | bf27ad308e98b1f591ff8f43095917ba7e36b5a12473b457a9c347c7a435eaca |
Close
Hashes for Heterogeneous_Highway_Env-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1f0e84f08f8788efd81fc97037d1cd4beae74774ada9f97481b3a5b866c2e71 |
|
MD5 | 2213d1e64d723410294be7298e729571 |
|
BLAKE2b-256 | df9910561aee0e85a548d1c345f82886a6267d8e86a25eb2ea11f449f5303a5a |