-
Notifications
You must be signed in to change notification settings - Fork 49
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
Update vtk_viewer CMake #93
Update vtk_viewer CMake #93
Conversation
b3b0b9b
to
b342ee4
Compare
{ | ||
LOG4CXX_INFO(SEGMENTATION_LOGGER, "Segment " << i << " size: " << included_indices_.at(i)->GetNumberOfIds()); | ||
CONSOLE_BRIDGE_logInform(("Segment " + std::to_string(i) + " size: " + std::to_string(included_indices_.at(i)->GetNumberOfIds())).c_str()); |
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.
Why console bridge over log4cxx?
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.
We were getting log4cxx from rosconsole. Switching to console_bridge seemed like the thing to do to make this ROS agnostic.
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.
Also I believe when using the ROS agnostic package within the ros ecosystem you can pipe console bridge output to ros log files.
3e2ec55
to
19694b7
Compare
1bce43c
to
afca4a3
Compare
afca4a3
to
39913fa
Compare
@Levi-Armstrong I restarted CI a few hours ago, and it still passes. |
Looks good to me. @jrgnicho You good with the changes? |
ping |
* Update vtk_viewer using cmake_common_scripts * Replace log4cxx with console_bridge * Address review comments and update to latest cmake_common_scripts
This is a start to addressing #71. It makes vtk_viewer ROS agnostic and updates it to use the cmake_common_scripts macros. These add clang-tidy, include what you use, and cppCheck.