carla-simulator / carla

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

Custom roadrunner map does not spawn pedestrians #5301

Open And1210 opened 2 years ago

And1210 commented 2 years ago

CARLA version: 0.9.13 Platform/OS: Ubuntu 18.04

Problem you have experienced: I followed the process to setup a custom map from roadrunner in Carla (https://carla.readthedocs.io/en/0.9.9/tuto_A_add_map/). After setting up the map, I am able to spawn vehicles. However, after following the process to generate a pedestrian nav mesh, using RecastDemo, and copying the .bin file to the Nav folder and running the generate_traffic.py or spawn_npc.py, no pedestrians (walkers) are ever spawned. No errors are given either.

What you expected to happen: Pedestrians to spawn on the sidewalk and start moving.

Other information (documentation you consulted, workarounds you tried): I have followed as many navmesh generation tutorials as I could find and no mesh seemed to work. This includes: https://carla.readthedocs.io/en/0.9.7/how_to_generate_pedestrians_navigation/, https://carla.readthedocs.io/en/0.9.7/how_to_make_a_new_map/, https://carla.readthedocs.io/en/latest/tuto_M_generate_pedestrian_navigation/, as well as previous issues on this repo I could find. I have ensured the sidewalk meshes follow the proper nomenclature (beginning with Road_Sidewalk).

huhaocong commented 2 years ago

carla 0.9.13 有一个特殊的缓存文件夹,需要把你做好的nav文件,让它拷贝到那个缓存文件夹内才可以的。

MeYuChen commented 2 years ago

解决了吗? 我现在也遇到了同样的问题。无法解决。

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.