Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scenario Configuration error in scenario runner #994

Open
SExpert12 opened this issue Jun 20, 2023 · 4 comments
Open

Scenario Configuration error in scenario runner #994

SExpert12 opened this issue Jun 20, 2023 · 4 comments

Comments

@SExpert12
Copy link

Desktop (please complete the following information):

  • OS: [e.g. Ubuntu 20.04]
  • CARLA Version [e.g. CARLA 0.9.14]
  • Python version [e.g. 3.7]
    I refer to #919 but problem is not solved.

hi everyone,

I got the same error:
python3 scenario_runner.py --scenario follow_leading_vehicle.py --reloadWorld

warnings.warn(msg, UserWarning)
Configuration for scenario follow_leading_vehicle.py cannot be found!
No more scenarios .... Exiting

I set my path variables in .bashrc file as:
export CARLA_ROOT=/home/sona/Downloads/CARLA14
export SCENARIO_RUNNER_ROOT=/home/sona/Downloads/CARLA14/PythonAPI/carla/scenario_runner
export PYTHONPATH=/usr/bin/python3:/home/sona/Downloads/CARLA14/PythonAPI/carla/dist/carla-0.9.14.-py3.7-linux-x86_64.egg
export PYTHONPATH=/usr/bin/python3:/home/sona/Downloads/CARLA14/PythonAPI/carla/agents
export PYTHONPATH=/usr/bin/python3:/home/sona/Downloads/CARLA14/PythonAPI/carla
export PYTHONPATH=/usr/bin/python3:/home/sona/Downloads/CARLA14/PythonAPI

any suggestion to solve this error

@Anhar2
Copy link

Anhar2 commented Jun 21, 2023

You should not pass the name of the python script, rather the corresponding name of the xml scenario itself found in the examples folder
without .xml extention, followed by _ then a number representing each scenario number
for instance: FollowLeadingVehicle_1

@SExpert12
Copy link
Author

Yes. It is done now. Do you any idea about changing intersection in CARLA e.g. CARLA provides 4 lane road in 4-way intersection and I need 6-lane road at 4-way intersection. Please help me if you have any idea regarding this.

Thanks for your reply.

@Anhar2
Copy link

Anhar2 commented Jun 22, 2023

Unfortunately I don't know, I suggest you open a new issue so more people can see it

Best of luck

@SExpert12
Copy link
Author

Thanks. I already opened issues but no response from any one. That's why I asked you.

Thanks for your reply.

@SExpert12 SExpert12 reopened this Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants