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

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

I am not familiar with either. Can you explain how this is related to Matlab? Is there a documentation page explaining how to set this up?
This is related to mathworks because Roadrunner is a mathworks product. There is a doccumentation page which is accessible only for roadrunner license holders (I believe). CHECK HERE: Cosimulate Actors with CARLA - MATLAB & Simulink - MathWorks United Kingdom
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?
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)

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

Asked:

on 27 Jun 2023

Answered:

on 1 Aug 2023

Community Treasure Hunt

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

Start Hunting!