-
Notifications
You must be signed in to change notification settings - Fork 938
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
Reduce console output warnings #1845
Reduce console output warnings #1845
Conversation
davetcoleman
commented
Jan 20, 2020
- jog_arm loads a PSM which always had a warning because no tf_buffer was loaded.
- A number of ROS_INFOs I thought were unnecessary, so I moved to DEBUG
- Made one warning more useful
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.
Looks good to me! 👍
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.
Agree to most changes except one.
Have pushed a fixup commit. Approving with this change.
@@ -52,7 +53,7 @@ CollisionCheckThread::CollisionCheckThread(const moveit_jog_arm::JogArmParameter | |||
ros::Duration(WHILE_LOOP_WAIT).sleep(); | |||
} | |||
|
|||
planning_scene_monitor_.reset(new planning_scene_monitor::PlanningSceneMonitor(model_loader_ptr)); | |||
planning_scene_monitor_ = std::make_shared<planning_scene_monitor::PlanningSceneMonitor>(model_loader_ptr, std::make_shared<tf2_ros::Buffer>()); |
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 think this should be reverted.
Passing a TF buffer that is not connected to a TF listener, doesn't make sense.
The key is to avoid setting up an Octomap Monitor, because we don't have a valid TF listener.
I will prepare a corresponding fixup commit.
Codecov Report
@@ Coverage Diff @@
## master #1845 +/- ##
==========================================
- Coverage 48.5% 48.46% -0.04%
==========================================
Files 298 298
Lines 23302 23305 +3
==========================================
- Hits 11302 11295 -7
- Misses 12000 12010 +10
Continue to review full report at Codecov.
|
* Reduce console output warnings * jog_arm: cleanup PSM setup * clang-format * fix cut-and-paste error Co-authored-by: Robert Haschke <rhaschke@users.noreply.github.com>
* Reduce console output warnings * jog_arm: cleanup PSM setup * clang-format * fix cut-and-paste error Co-authored-by: Robert Haschke <rhaschke@users.noreply.github.com>
* Reduce console output warnings * jog_arm: cleanup PSM setup * clang-format * fix cut-and-paste error Co-authored-by: Robert Haschke <rhaschke@users.noreply.github.com>