Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove callback group for topics and services #61

Merged
merged 2 commits into from
Oct 24, 2023
Merged

Remove callback group for topics and services #61

merged 2 commits into from
Oct 24, 2023

Conversation

domire8
Copy link
Member

@domire8 domire8 commented Oct 24, 2023

Description

This PR finally solves the problem with unloading components after the component interface refactor. It's been some time since we last worked on this but I rebased the 'iron' branch (the branch that has the 4 commits regarding the component interface refactor with node interfaces) and found that the issue with that was just an additional callback group that I created for I don't know what reason and that group was responsible for the issues when removing the component from the executor.

Review guidelines

Estimated Time of Review: 5 minutes

Checklist before merging:

  • Confirm that the relevant changelog(s) are up-to-date in case of any user-facing changes

@domire8 domire8 requested a review from eeberhard October 24, 2023 11:56
@domire8
Copy link
Member Author

domire8 commented Oct 24, 2023

I've tested this with apps that have several C++ components, by either shutting down the state engine directly or unloading components one by one through the API and this seems to work fine. The state engine doesn't crash anymore (at least not more often than before)

Copy link
Member

@eeberhard eeberhard left a comment

Choose a reason for hiding this comment

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

The state engine doesn't crash anymore (at least not more often than before)

Totally uncalled for 😆 glad you caught the bug though!

@eeberhard
Copy link
Member

P.S. can you link / close the related issue if it still exists somewhere?

@domire8 domire8 linked an issue Oct 24, 2023 that may be closed by this pull request
@domire8 domire8 merged commit b0536c6 into iron Oct 24, 2023
4 checks passed
@domire8 domire8 deleted the fix/cb-group branch October 24, 2023 15:03
@github-actions github-actions bot locked and limited conversation to collaborators Oct 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use node interfaces in ros:iron to avoid templated ComponentInterface
2 participants