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

Change callback group #1028

Open
TheDelus opened this issue Aug 29, 2024 · 3 comments
Open

Change callback group #1028

TheDelus opened this issue Aug 29, 2024 · 3 comments

Comments

@TheDelus
Copy link

There are some nodes (eg. image_proc/debayer) that could benefit from changing its default callback group from MutuallyExclusive to Reentrant. Is there a way to do this?

@mikeferguson
Copy link
Member

Each of these are designed as a ROS2 component - it's my understanding that components are loaded with a single threaded executor, so I don't think changing the callback groups would do anything at this time?

@TheDelus
Copy link
Author

As far as I know this depends on the used component_container. I am using the component_container_mt. I have created a local fork of the image_proc/debayer node and changed the callback group of the subscriber to Reentrant. It is running perfectly fine in parallel now. Would be nice to configure stuff like this.

@mikeferguson
Copy link
Member

mikeferguson commented Aug 30, 2024

Wasn't aware of the alternate containers - that's cool. If you already have an example for updating one or more of the components - please open a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants