Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Feb 6, 2025

We did not have the on_shutdown method implemented which gets called by the resource manager when shutting down. This could potentially result in crashes or pipeline overflows when shutting down the control node.

There was an intermediate fix calling on_cleanup in the destructor, which isn't correct either. That got deleted.


This is an automatic backport of pull request #1270 done by Mergify.

We did not have the on_shutdown method implemented which gets called by the
resource manager when shutting down. This could potentially result in crashes
or pipeline overflows when shutting down the control node.

There was an intermediate fix calling on_cleanup in the destructor,
which isn't correct either. That got deleted.

(cherry picked from commit 36b5c3d)
@mergify mergify bot added the humble Relevant for humble and higher ROS versions label Feb 6, 2025
@urfeex
Copy link
Member

urfeex commented Feb 6, 2025

This seems to work, but doesn't have the same effect, since ros-controls/ros2_control#2040 is needed. I'll wait for that and manually test with it before approving.

@urfeex
Copy link
Member

urfeex commented Feb 7, 2025

Upstream got merged. Re-running semi-binary builds and if their output looks good, I will merge this.

Copy link
Member

@urfeex urfeex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes shutdowns cleaner as intended.

@urfeex urfeex merged commit b6e6bac into humble Feb 7, 2025
6 of 7 checks passed
@urfeex urfeex deleted the mergify/bp/humble/pr-1270 branch February 7, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

humble Relevant for humble and higher ROS versions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants