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

[jsk_topic_tools/DiagnosticsNodelet] Enable constructor without name argument #1761

Merged
merged 1 commit into from Aug 26, 2022

Conversation

iory
Copy link
Member

@iory iory commented Aug 25, 2022

What is this?

Related to jsk-ros-pkg/jsk_recognition#2712
The jsk nodes use ConnectionBasedNodelet and DiagnosticsNodelet.

jsk-ros-pkg/jsk_recognition#2712 (comment)
If we want to write the following, we need to create a constructor with no arguments in DiagnosticsNodelet.

#if  defined(JSK_TOPIC_TOOLS_VERSION) and JKS_NODELET_VERSION_MINIMUM(2,2,13))
    #define jsk_topic_tools::NODLET jsk_topic_tools::ConnectionBasedNodelet
#else
    #define jsk_topic_tools::NODLET jsk_topic_tools::DiagnosticNodelet
#endif```

@k-okada k-okada merged commit 2a26be4 into jsk-ros-pkg:master Aug 26, 2022
@iory iory deleted the diagnostics-constructor branch August 26, 2022 02:58
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.

None yet

2 participants