MetaDrive-0.2.3
We release MetaDrive-0.2.3 now!
You can install this version via pip install metadrive-simulator
or download the packages directly.
Note: It is supposed to be available on both Windows and Unix-like systems, but the new Macbook with the M1 chip may encounter a bug.
The following features are supported:
- Infinite maps for benchmarking the generalization ability of a learned policy
- Pre-defined MARL environments to study traffic, a common self-driven particle system
- Importing real data to metadrive by replaying surrounding vehicles' trajectories and converting the data structure of the real maps automatically
- Source code with a clear framework and can be easily extended
- Basic API for creating your own environment by using
class BaseObject
,class BaseManager
andclass BaseEnv
- Inheriting from
class BasePolicy
to implement rule-based policy, neural policy, and the mixed one. - Depth camera, RGB camera, and Lidar can be accessed to get raw data, and for users focusing on using the perception results metadrive also provide them with API to get surrounding information directly