-
Notifications
You must be signed in to change notification settings - Fork 81
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] add JSK_NODELET_LOG_THROTTLE #1446
Conversation
f822cf1
to
ca57102
Compare
add_executable(test_nodelet_log EXCLUDE_FROM_ALL test/test_nodelet_log.cpp) | ||
target_link_libraries(test_nodelet_log ${catkin_LIBRARIES} ${GTEST_LIBRARIES}) | ||
add_dependencies(tests test_nodelet_log) | ||
add_rostest(test/test_nodelet_log.test) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is add_rostest_gtest()
not usable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wkentaro I did not know just how to test by add_rostest_gtest
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose you can do like this:
https://github.com/jsk-ros-pkg/jsk_common/blob/master/jsk_topic_tools/CMakeLists.txt#L126-L127
Actually, I found the I agree that we add this function to jsk_topic_tools at this time, but we should add deprecation warning for all of the logging functions.
|
why we have to add this function at this time, for hydro? |
@k-okada It is not necessary. But currently there are already logging macros: |
I see, Since we already noticed that JSK_XXX logging macro is no longer needed, so we can create PR that display deprecation warning for these macros |
[jsk_topic_tools] Some fixes following #1446
No description provided.