Closed sea-bass closed 6 months ago
Not destroying the action server feels sketchy, but hopefully we'll circle back to this once the bug in RCL is fixed.
Yeah, this is why I kept a comment with the segfault when normally I would have just deleted that line.
I found a segfault in Humble described in https://github.com/ros2/rclcpp/issues/2163#issuecomment-1850925883 with destroying action servers while an executor is processing something.
For now, this simple change resolves the issue.
I also added a cancellation callback to the ROS 2 action servers that get created on advertise, which properly aborts the future that is created when first executing the goal.