Map use to carla and Apollo simulation
The map is extracted from carla Release 0.9.14
, and then convert to Apollo map. The list of supported maps is as follows.
Name | Status | Remark |
---|---|---|
town01 | ✔️ | |
town02 | ✔️ | |
town03 | ❌ | |
town04 | ✔️ | |
town05 | ✔️ | |
town06 | ❌ | |
town07 | ✔️ | |
town10 | ✔️ | |
town11 | ❌ | |
town12 | ❌ |
You can use the Apollo map in the following steps.
Steps:
-
Clone Apollo Map Repository:
git clone apollo_map
This will clone the Apollo map data repository into your local directory.
-
Convert OpenDRIVE Map to Apollo Format:
sh gen_apollo_map.sh
This script converts the OpenDRIVE format map into the format required by Apollo.
-
Place Converted Map in the Correct Directory:
cp <converted_map_dir> modules/map/data/
Replace
<converted_map_dir>
with the actual directory of the generated Apollo map file. Move this directory to themodules/map/data/
directory. -
Generate Routing Map:
sh gen_dep_map.sh
This step generates a routing map for path planning.
-
Restart Dreamview:
./scripts/bootstrap.sh restart
If you want to visualize the map in Dreamview, restart Dreamview using this command.
Additional Notes:
- Ensure you have the necessary permissions to execute the scripts.
- Refer to the official Apollo project documentation for more detailed information on Apollo maps.