carla icon indicating copy to clipboard operation
carla copied to clipboard

error occurs after using API unload_map_layer and adding a new client

Open WindTi opened this issue 3 years ago • 2 comments

CARLA version: 0.9.12 Platform/OS: ubuntu 18.04 LTS

Problem you have experienced: I use the python api unload_map_layer to remove the redundant elements of the map, and then the server will crash when I use scenario_runner. The problem can also be simplified into: using unload_map_layer and then adding a new client then carla server will crash

What you expected to happen: server can work normally after using API unload_map_layer and adding a new client

WindTi avatar Jul 04 '22 03:07 WindTi

I have the same issue with CARLA 0.9.13 on Ubuntu 20.04.

felixlutz avatar Sep 03 '22 15:09 felixlutz

I have the same issue with CARLA 0.9.13 on Ubuntu 20.04.

Using this API unload_map_layer to dynamically delete elements and run scenario_runner doesn't seem to work, because it will have a reload_world action. My solution is to directly delete the texture assets in the map file and modify it into a new map

WindTi avatar Sep 05 '22 01:09 WindTi