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

4 次查看(过去 30 天)
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 个评论
Cris LaPierre
Cris LaPierre 2023-6-30
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 2023-6-30
Yes it is located in the folder and I have also set the system variable as it can be noticed in the screenshot.

请先登录,再进行评论。

回答(1 个)

Anshuman
Anshuman 2023-8-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!

Community Treasure Hunt

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

Start Hunting!

Translated by