Open Michael-Fuu opened 7 months ago
Apollo can launch and use the map if you add one of the files : base_map.bin or base_map.txt or base_map.xml. If you have already added base_map.txt no need for .bin file. Is the map showing in Dreamview and the car drives appropriately with Carla or in SimControl mode?
In this tutorial, at time code 6:27 you can check how I add the maps to Apollo and test them. Make sure you are following the same steps. https://www.youtube.com/watch?v=2dQC3ToJGJU
Only test pnc it works..but when I test apollo perception module, some algorithm plugins(radar detection) fails because the needs of base_map.bin. thx, I will try to find some ways to work around with it !
also about launching liar module, when I start the liar module, it also need town01.bin
I have tried to change modules/perception/map/hdmap/hdmap_input.cc to change from obtaining carla_town01.bin into carla_town01.txt. It works but might cause bugs when use other maps without txt suffixe.
when I use carla_town01 in this repository, after launching mainboard I checked mainboard.log and got :
Failed to find hadmap file: /apollo/modules/map/data/carla_town01/base_map.bin F1123 16:30:48.873589 18299 radar_detection_component.cc:81] Check failed: hdmapinput->Init() Failed to init hdmap input.
which leads starting radar perception module failed, how to generate base_map.bin to fix this issue ?