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

Get publisher infos by topic #78

Closed
NerdToMars opened this issue Dec 25, 2023 · 2 comments
Closed

Get publisher infos by topic #78

NerdToMars opened this issue Dec 25, 2023 · 2 comments

Comments

@NerdToMars
Copy link
Contributor

NerdToMars commented Dec 25, 2023

Hi there,

I have a use case where I have to use some publishers info, such as topic type, qos profile

notice r2r already has rcl_get_publishers_info_by_topic binding, it would be nice to have a get_publishers_info_by_topic function under Node struct.

here are the generic cpp version to get the topic endpoint info: https://github.com/ros2/rclcpp/blob/2bb1dc2c716ae12a24145891724f8436aa4e52bd/rclcpp/src/rclcpp/node_interfaces/node_graph.cpp#L663

I'm happy to try and implement this for r2r, just wondering if there is any concern I should to be aware of ..

Thanks!

@m-dahl
Copy link
Collaborator

m-dahl commented Dec 27, 2023

Hi,

I don't think there really much to think about, I would say just go ahead and try to implement it if you need the functionality. I will try to support if you have any questions, you can open a PR for it.

@m-dahl
Copy link
Collaborator

m-dahl commented Jan 11, 2024

Fixed in #80

@m-dahl m-dahl closed this as completed Jan 11, 2024
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

No branches or pull requests

2 participants