Incomplete Resource Release on Shutdown in Autoware with ROS2 #6941
Labels
component:system
System design and integration. (auto-assigned)
status:stale
Inactive or outdated issues. (auto-assigned)
Checklist
Description
When shutting down Autoware that utilizes ROS2, there is an observed issue where not all ROS2-related resources are fully released. This incomplete release of resources causes problems during subsequent attempts to launch Autoware, preventing normal initialization. Shutting down using Ctrl+C does not seem to effectively manage the cleanup of all active resources.

Expected behavior
Upon shutting down Autoware, all resources, especially those tied to ROS2, should be fully released, ensuring that the system is clean and ready for a new startup without any issues.
Actual behavior
Resources remain engaged or partially active after Autoware is shut down using Ctrl+C. This leads to difficulties when attempting to restart Autoware. The only workaround is either system reboot or forceful termination of all ROS-related processes using commands like pkill -f 'ros'.
Steps to reproduce
Versions
-OS:Ubuntu 20.04
-ROS2: ROS2 galactic
-Autoware: Autoware.universe galactic
Possible causes
Resource Management
Additional context
No response
The text was updated successfully, but these errors were encountered: