carla-simulator / carla

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

Run carlaUE4 crash while draging Traficlights into the scene #7961

Closed chuanye-Wang closed 2 months ago

chuanye-Wang commented 2 months ago

0.9.15-dev
Ubuntu 20.04 issue: CarlaUE4 crashed when added trafficlights into the scene and play. expectation: I wanna add trafficlights to my custom map exported from Roadrunner.

I import a custom map from RoadRunner, I have placed traficlights in the Roadrunner, but none of them showed up in carlaUE4. So I follow these step to place Trafficlights using CarlaUE4 image

After I draged the trafficlights into the scene, and I Play, then CarlaUE4 crashed! img_v3_02cs_2e554647-900c-42eb-b926-212b87ffa85g

Is there solution for this? Or, anyother way to add trafficlights to my custom map exported from Roadrunner? tks!

gsmario commented 2 months ago

Hello! In order to add a traffic light in to the carla ue4 scene, you'll need to do the next: First, move to the correct sublevel for traffic lights (double click sublevel "layout") image Then, once you're in that sublevel, drag any traffic light blueprint in to your scene. After that, you'll need to look for traffic light group in your world outliner: image (1) select any group. (2) click on the + to add a new traffic light (3) click on the picker icon, (or click on the list and select your traffic light) (4) select your traffic light, and you'll see how its added on the list

With this, your traffic light will be good to go.

Just tell me if you have more problems.

chuanye-Wang commented 2 months ago

Thanks, it works

gsmario commented 2 months ago

I'm glad it worked! Then i'll close the issue. Thanks again!

SExpert12 commented 1 month ago

Hi, I am also facing the same issue. Earlier I followed the steps given by @chuanye-Wang but traffic lights not working and now I it server is getting crashed. How to go to this sublevel as given in this step "First, move to the correct sublevel for traffic lights (double click sublevel "layout")"

Thanks