rclcpp
rclcpp copied to clipboard
Publisher cleanup via service call results in deadlock on Jazzy
Relevant issue here: https://github.com/luxonis/depthai-ros/issues/657 Short description: When using a service for resetting the driver's state (mostly cleaning up classes that have publishers inside them), the driver has a high chance to hang without response in rclcpp::Executor::wait_for_work (rcl_wait/rmw_wait). This was thought to be fixed by assigning Reentrant CB groups to services that correspond that call this cleanup, but it seems that it didn't help in the end. The issue has been observed on both Cyclone and FastDDS RMW. Humble and Noetic versions of the driver don't experience this issue.