opendilab / InterFuser

[CoRL 2022] InterFuser: Safety-Enhanced Autonomous Driving Using Interpretable Sensor Fusion Transformer
Apache License 2.0
531 stars 46 forks source link

Town07 and Town10 scenarios containing Town02 scenarios #29

Closed ishida-wayve closed 1 year ago

ishida-wayve commented 1 year ago

Hello! I noticed that the Town07 scenarios and Town10 scenarios actually contain town02 scenarios. Could you update this with the correct scenarios please? Could you also point me to how these scenarios were generated and how I can generate my own scenarios please? Thank you!

deepcs233 commented 1 year ago

Hi! 1) I noticed that the [Town07 scenarios](https://github.com/opendilab/InterFuser/blob/main/leaderboard/data/scenarios/town07_all_scenarios.json) and [Town10](https://github.com/opendilab/InterFuser/blob/main/leaderboard/data/scenarios/town10_all_scenarios.json) scenarios actually contain town02 scenarios. Could you update this with the correct scenarios please?

This is not a bug and doesn't affect the autual data collection. It's because when run the scenarios, the scenario_runner will only consider the scenarios that occur in the corresponding town.

2) Could you also point me to how these scenarios were generated and how I can generate my own scenarios please? Thank you!

Designing new scenarios is a bit complicated. For each kind of scenario, you first need to read and understance the code (https://github.com/opendilab/InterFuser/tree/main/scenario_runner/srunner/scenarios). Then use the Opendrive map viewer (like https://odrviewer.io/) to visualize the map where you want to generate the scenarios. Lastly you need to find proper positions in the map to build new scenarios.

Hope the above can help you!

ishida-wayve commented 1 year ago

I see! Thanks for the clarification!