I've been running into some weird issues spawning certain actors in Town12 using the leaderboard2.0 carla version and ros bridge (ubuntu-20.04, ROS2 Humble).
Haven't quite been able to figure out the pattern, or even if the problem resides in the ros-bridge or the python-api, but I've been most able to reproduce the issue using the ros-bridge.
Short version:
In Town12, I'm unable to attach sensors to an ego_vehicle spawned with the id "ego_vehicle", but id "hero"/"hero2" etc. work fine.
In Town12, I'm unable to spawn a global sensor (i.e. a sensor not attached to any vehicle)
To reproduce, run carla_ros_bridge:
ros2 launch carla_ros_bridge carla_ros_bridge.launch.py timeout:=30.0 town=Town12
I've been running into some weird issues spawning certain actors in Town12 using the leaderboard2.0 carla version and ros bridge (ubuntu-20.04, ROS2 Humble).
Haven't quite been able to figure out the pattern, or even if the problem resides in the ros-bridge or the python-api, but I've been most able to reproduce the issue using the ros-bridge.
Short version: In Town12, I'm unable to attach sensors to an ego_vehicle spawned with the id "ego_vehicle", but id "hero"/"hero2" etc. work fine. In Town12, I'm unable to spawn a global sensor (i.e. a sensor not attached to any vehicle)
To reproduce, run carla_ros_bridge:
ros2 launch carla_ros_bridge carla_ros_bridge.launch.py timeout:=30.0 town=Town12
Then try spawning objects:
"ego_vehicle" issue
Works in all towns including Town12
Crashes Carla when run in Town12, but fine in any other town
Global sensor issue
Crashes Carla in Town12, works fine in any other town