Closed iory closed 2 years ago
Related to https://github.com/jsk-ros-pkg/jsk_recognition/pull/2712 The jsk nodes use ConnectionBasedNodelet and DiagnosticsNodelet.
ConnectionBasedNodelet
DiagnosticsNodelet
https://github.com/jsk-ros-pkg/jsk_recognition/pull/2712#discussion_r918957879 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```
What is this?
Related to https://github.com/jsk-ros-pkg/jsk_recognition/pull/2712 The jsk nodes use
ConnectionBasedNodelet
andDiagnosticsNodelet
.https://github.com/jsk-ros-pkg/jsk_recognition/pull/2712#discussion_r918957879 If we want to write the following, we need to create a constructor with no arguments in DiagnosticsNodelet.