Clear Filters
Clear Filters

Error: IndexError('list index out of range')

10 views (last 30 days)
prabanjan
prabanjan on 27 Jun 2023
Answered: Anshuman on 1 Aug 2023
I am trying to cosimulate roadrunner and carla. I have set my system variable to carla root directory. still I am getting this following error. I updated my PIP version and followed all other steps in the instructions.
  4 Comments
Cris LaPierre
Cris LaPierre on 30 Jun 2023
The error would suggest that CarlaUE4.exe is not located in the indicated folder. Can you confirm that it is located in your 'D:\Thesis\Workspace\carla' folder?
prabanjan
prabanjan on 30 Jun 2023
Yes it is located in the folder and I have also set the system variable as it can be noticed in the screenshot.

Sign in to comment.

Answers (1)

Anshuman
Anshuman on 1 Aug 2023
There are a few steps you can take to troubleshoot the issue:
  1. Verify CARLA Installation: Double-check that CARLA is correctly installed and functioning properly. Ensure that you can run CARLA independently without any errors.
  2. Check Dependencies: Ensure that all the required dependencies for the co-simulation between RoadRunner and CARLA are installed and up to date. This includes Python packages, libraries, and any other dependencies mentioned in the instructions.
  3. Verify Environment Setup: Check that your Python environment is properly set up and configured to work with both RoadRunner and CARLA. Ensure that you are using the correct Python version and that the necessary packages are installed in the correct environment.
Hope it helps!

Products


Release

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!