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

Check topic for type to determine which subscription callback to trigger #759

Merged

Conversation

agyoungs
Copy link
Contributor

@agyoungs agyoungs commented May 25, 2022

Closes #756

@agyoungs
Copy link
Contributor Author

agyoungs commented May 25, 2022

@danthony06 Can you review this? The disadvantage to this approach is that if a topic doesn't exist when the plugin is initialized, the subscription will not be made. This could be addressed with a function override for plugins that gets triggered when new topics are identified. Thoughts?

The alternative approach is to use a generic subscription. However this will require de-serialization within the plugin.

@danthony06 danthony06 merged commit f3df227 into swri-robotics:ros2-devel May 25, 2022
@danthony06
Copy link
Contributor

Seems reasonable to me.

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

Successfully merging this pull request may close these issues.

2 participants