DOS icon indicating copy to clipboard operation
DOS copied to clipboard

DOS_X_town05.json

Open a1wj1 opened this issue 2 years ago • 2 comments

Hello, may I ask what content is saved in this file? For example, what does “available_event_configurations” mean, and what does each “transform” mean?Thank you!

a1wj1 avatar Jul 13 '23 09:07 a1wj1

Hi! These concepts are complex and difficult to explain in few words: available_event_configurations is just a key name, its value is all the trigger points. transform means a trigger location. When the ego car arrive at the trigger location, the scenario will start.

If you want to know more details or edit the scenario, i have some suggestions:

  1. You can get the mapping from scenario_name to scenario_class here: https://github.com/opendilab/DOS/blob/59ffe335cd73b9f7029e6f60dd11cba93eb3d294/leaderboard/leaderboard/scenarios/route_scenario.py#L59
  2. Then you can dig in each scenario class and get more details. For example, this class (https://github.com/opendilab/DOS/blob/59ffe335cd73b9f7029e6f60dd11cba93eb3d294/scenario_runner/srunner/scenarios/cut_in_stationary_object.py#L21) define the behavior of DOS_01.

deepcs233 avatar Jul 14 '23 07:07 deepcs233

Thanks!

a1wj1 avatar Jul 14 '23 08:07 a1wj1