carla-simulator / ros-bridge

ROS bridge for CARLA Simulator
MIT License
509 stars 408 forks source link

Shutting down node using Ctrl+C, doesnt completely destroy all the spawned objects #698

Open AJK97 opened 11 months ago

AJK97 commented 11 months ago

Hi,

Once I destroy the carla_spawn_object node that has spawned an ego vehicle, using Ctrl+C or killall, the node dissapears from the output of "ros2 node list" but nevertheless, the car and some of the sensors are not completely destroyed since I can still visualize the data in RVIZ. Any leads?

image

Billthekidz commented 9 months ago

It looks like the shutdown process is throwing an exception so the cleanup wasn't successful.