Skip to main content

Heterogeneous Highway-env for iPLAN

Our forked version of highway-env used in our paper:

iPLAN: Intent-Aware Planning in Heterogeneous Traffic via Distributed Multi-Agent Reinforcement Learning

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 and AggressiveVehicle in vehicle/behavior.py.
  • Add multi-agent support for Highway scenario given in envs/highway_env.py, modify the MultiAgentWrapper in vehicle/common/abstract.py.
  • Add three heterogeneous traffic scenarios, HighwayEnvHetero, HighwayEnvHetero_H and HighwayEnvHetero_VH in envs/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).

Metadata

Release files for Heterogeneous-Highway-Env 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Heterogeneous-Highway-Env 0.0.3
File Size Uploaded
Heterogeneous_Highway_Env-0.0.3.tar.gz 78.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Heterogeneous-Highway-Env 0.0.3
File Interpreter ABI Platform
Heterogeneous_Highway_Env-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 475.4 kB

Release files / Heterogeneous_Highway_Env-0.0.3.tar.gz

Download URL Heterogeneous_Highway_Env-0.0.3.tar.gz
Size 78.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6a6a48c6967d97f10b10df638c6c6d2de574cdf29e84525a2d72ccba2ff9b3ee
BLAKE2b-256 checksum
How to use checksums
5620b3ea7a410dac7fe4239d6327c779b4eff9c551b2dd3d86a6ed6221e76d7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.15

Release files / Heterogeneous_Highway_Env-0.0.3-py3-none-any.whl

Download URL Heterogeneous_Highway_Env-0.0.3-py3-none-any.whl
Size 397.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e3f42f34f78dd1459e0bbb20b5b0417a40f733659464463987f022fb0553a3d4
BLAKE2b-256 checksum
How to use checksums
3722e7b411c9a13fff0dbae215c13e94b7ffc7b9128df8a3f3c958d6c160b4d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.15

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page