metadriverse / metadrive

MetaDrive: Open-source driving simulator
https://metadriverse.github.io/metadrive/
Apache License 2.0
792 stars 112 forks source link

Discussion: the data format in dynamics_map_states #364

Closed pengzhenghao closed 1 year ago

pengzhenghao commented 1 year ago

The dynamics_map_states is a list of list of dict??

Screenshot from 2023-03-26 13-08-06

I suggest to follow the format of "tracks":

tracks = {
     object_id: {
         type: vehicle,
         state1: array([T, state1_dim]),
         state2: array([T, state2_dim]),
    },
    object_2_id: {...}
}
pengzhenghao commented 1 year ago

To Do List: