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 publisher's conection #12

Merged
merged 2 commits into from
Jun 26, 2023

Conversation

Hiroaki-Masuzawa
Copy link
Contributor

Skip the publishing process when there is no connection.

related to #11.

@ssr-yuki
Copy link
Member

Sorry for my late review and Thank you for great contribution. I have verified that this PR prevents BodyROS from publishing unnecessary topics and reduces computational and communicational costs.

Only one thing I want you about this PR is inserting spaces in evaluation equations as publisher.getNumSubscribers() == 0. Could you apply this?

@Hiroaki-Masuzawa
Copy link
Contributor Author

Thank you for checking. I have committed to the modified version.

Copy link
Member

@ssr-yuki ssr-yuki left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thank you for contribution!

@ssr-yuki ssr-yuki merged commit cc3d8a1 into choreonoid:master Jun 26, 2023
@Hiroaki-Masuzawa Hiroaki-Masuzawa deleted the check_connection branch July 6, 2023 07:46
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