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
335 stars 98 forks source link

Bug: incorrect check on Carla map names. #73

Open zqzqz opened 1 year ago

zqzqz commented 1 year ago

Log of python carla_cyber_bridge/bridge.py.

[2023-04-02 03:03:43,291] [carla_bridge] [INFO]: Loading town 'Town01' (previous: 'Carla/Maps/Town01').

At https://github.com/guardstrikelab/carla_apollo_bridge/blob/master/src/carla_cyber_bridge/bridge.py#L454

if carla_world.get_map().name != parameters["town"]:

carla_world.get_map().name is in format Carla/Maps/TownXXX while the parameters["town"] is in TownXXX. The check does not work even if the same map is loaded.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

XiaoFei9704 commented 1 year ago

We have fixed this issue in the latest version and will soon release it