carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.11k stars 3.58k forks source link

CARLA crashes when reloading world with low quality settings #4966

Open svanimisetti opened 2 years ago

svanimisetti commented 2 years ago

CARLA version: 0.9.13 Platform/OS: Windows 10 Problem you have experienced: CARLA crashes when reloading world with low quality settings

Steps to reproduce:

  1. Start windows command-prompt and launch CARLA 0.9.13 (installed to C:\apps\CARLA) using following two steps (had to wait ~30secs between two commands for my computer configuration).
start "" /D C:\apps\CARLA /MIN /B CarlaUE4.exe -windowed -carla-server -carla-no-networking -quality-level=Low
start "" /D C:\apps\CARLA\PythonAPI\util /MIN /B python config.py --map Town01
  1. Start Python and run following
import os, sys
sys.path.append(r'C:\apps\CARLA\PythonAPI\carla\dist\carla-0.9.13-py3.7-win-amd64.egg')
import carla
client = carla.Client('localhost', 2000)
client.reload_world()
  1. Above causes CARLA to crash with following error written to python terminal

    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    RuntimeError: time-out of 5000ms while waiting for the simulator, make sure the simulator is ready and connected to localhost:2000

    image

  2. Remove -quality-level=Low in Step 1 and launch CARLA again

  3. Now run commands in Step 2, and CARLA should work fine (warning message in Step 3 still an issue).

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

crisdesivo commented 1 year ago

I have the same issue on ubuntu 20 and carla 0.9.13

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

gustavomoers commented 9 months ago

same issue Carla 0.9.14 on Windows