carla-simulator / scenario_runner

Traffic scenario definition and execution engine
https://carla-scenariorunner.readthedocs.io/en/latest/
MIT License
500 stars 353 forks source link

No more scenarios .... Exiting #1021

Open ravivaghasiya1998 opened 10 months ago

ravivaghasiya1998 commented 10 months ago

Hello I am getting the error when I try to run scenario

Did anyone have solution to this error?

I have set the environment variable as:

PYTHONPATH = D:\CARLA_0.9.13\WindowsNoEditor\PythonAPI\carla CARLA_ROOT = D:\CARLA_0.9.13\WindowsNoEditor SCENARIO_RUNNER_ROOT =D:\CARLA_0.9.13\scenario_runner

11

ronyshaji commented 10 months ago

Hey Since you are running OpenScenario, you need to use the argument --openscenario

Python scenario_runner.py --openscenario srunner/examples/FollowLeadingVehicle.xosc --output

ravivaghasiya1998 commented 10 months ago

Thanks. It worked

ronyshaji commented 8 months ago

@ravivaghasiya1998 Please close this issue