Skip to content

Add get_domain_id method in Node struct #155

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

Merged
merged 5 commits into from
May 6, 2022

Conversation

Soya-Onishi
Copy link
Contributor

Close #145

This PR add helper method getting ROS domain ID via rcl_get_node_domain_id().

There is TODO in doc, but this should be done after support for passing node option, I think.

Copy link
Contributor

@nnmm nnmm left a comment

Choose a reason for hiding this comment

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

Nice work! I like the example.

Soya-Onishi and others added 2 commits May 6, 2022 14:17
Replace doc comment

Co-authored-by: Nikolai Morin <[email protected]>
Copy link
Contributor

@nnmm nnmm left a comment

Choose a reason for hiding this comment

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

I left a final round of small comments. Once they are done, I'd say this PR is ready.

@nnmm nnmm merged commit 865e203 into ros2-rust:master May 6, 2022
@Soya-Onishi
Copy link
Contributor Author

Thanks for your patient and meaningful suggestions!

@nnmm
Copy link
Contributor

nnmm commented May 6, 2022

Thanks for your contribution @Soya-Onishi! If you want to do something a bit more complex next, how about the node options (#142)?

@Soya-Onishi
Copy link
Contributor Author

@nnmm I'll try it, but I think there are what I don't know well , so PR may take more time than this PR.

@nnmm
Copy link
Contributor

nnmm commented May 6, 2022

There is no rush at all, and this issue is just a suggestion, of course. You can also join our Matrix chat, or ask questions in that issue.

Soya-Onishi added a commit to Soya-Onishi/ros2_rust that referenced this pull request May 7, 2022
@Soya-Onishi Soya-Onishi deleted the add_domain_id_method branch May 7, 2022 00:55
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.

Wrap rcl_node_get_domain_id() function
2 participants