guardstrikelab / carla_apollo_bridge

This project aims to provide a data and control bridge for the communication between the latest version of Apollo and Carla.
Apache License 2.0
336 stars 98 forks source link

How to add a new map in the docker-carla? (Adding a new map to the building-carla has been successful) #162

Open LCaptainJackSparrow opened 1 year ago

LCaptainJackSparrow commented 1 year ago

When I added a new map using Unreal Engine and simulated it jointly with Apollo. I found that when there are a large number of NPCs , there is a stuttering phenomenon. So I want to add the new map to the docker-carla to run, I guess this can improve the simulation running speed. But I haven't successfully added a new map in the docker-carla. I took the following steps:

  1. Add a new map to the building-carla; And load and add elements such as houses within the Unreal Engine;

  2. Execute the command "make package" in the carla root directory

  3. Modify the "town" field in the /apollo/modules/carla_bridge/config/settings.yaml file;

  4. Run "python main.py" in the docker of Apollo

I encountered an error: "error, map not found"