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 comentarios

Rik
Rik el 28 de Jun. de 2023
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?
prabanjan
prabanjan el 30 de Jun. de 2023
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
Cris LaPierre
Cris LaPierre el 30 de Jun. de 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 el 30 de Jun. de 2023
Yes it is located in the folder and I have also set the system variable as it can be noticed in the screenshot.

Iniciar sesión para comentar.

Respuestas (1)

Anshuman
Anshuman el 1 de Ag. de 2023

0 votos

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!

Productos

Versión

R2023a

Etiquetas

Preguntada:

el 27 de Jun. de 2023

Respondida:

el 1 de Ag. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by