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

조회 수: 4 (최근 30일)
prabanjan
prabanjan 2023년 6월 27일
답변: Anshuman 2023년 8월 1일
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!

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by