Closed CoderXuans closed 1 month ago
Hi! You can try this scenario file: https://github.com/opendilab/LMDrive/blob/43fc2e9a914623fd6eec954a94aeca2d3966e3db/leaderboard/scripts/run_evaluation.sh#L26
It will remove all the sudden scenarios, including the suddenly appearing pedestrians.
Does town05_all_scenarios.json contain anything else besides suddenly appearing pedestrians?
No, I mean using this code:
export SCENARIOS=leaderboard/data/scenarios/no_scenarios.json
Thank you for your quick response. 1、I understand what you mean. What I’m asking is whether the contents of town05_all_scenarios.json are solely for serving suddenly appearing pedestrians? 2、How can I modify other vehicles on the road? For example, how can I delete the other vehicles?
scenario_type
in the scenarios.json, and the mapping from the type id to the scenario class can be found here: https://github.com/opendilab/LMDrive/blob/43fc2e9a914623fd6eec954a94aeca2d3966e3db/scenario_runner/srunner/scenarios/route_scenario.py#L53 . You could remove the scenarios of a specified type.https://github.com/carla-simulator/leaderboard and https://github.com/carla-simulator/scenario_runner can help you resolve this kind of questions.
May I ask where I can modify the responses for the four types: Follow, Turn, Others, and Notice?
@deepcs233 Hello, how can I remove the suddenly appearing pedestrians? In which folder should I modify to achieve this?