-
Notifications
You must be signed in to change notification settings - Fork 523
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
Use node logging in moveit_ros #2482
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2482 +/- ##
==========================================
+ Coverage 50.29% 50.31% +0.02%
==========================================
Files 391 391
Lines 31954 31982 +28
==========================================
+ Hits 16069 16087 +18
- Misses 15885 15895 +10
☔ View full report in Codecov by Sentry. |
8e215d8
to
4651a52
Compare
7ff165e
to
1b3860a
Compare
Signed-off-by: Tyler Weaver <maybe@tylerjw.dev>
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.
Very clean refactoring. The changes are much less intrusive than I thought. Please update https://github.com/ros-planning/moveit2/blob/main/doc/MIGRATION_GUIDE.md before merging.
- This should fix moveit#2516 - Several moveit2 packages already depend on rsl - PR moveit#2482 added a depend in moveit_core This is only broken when building all of moveit2 deps in one colcon workspace And not using rosdep because colcon uses the package.xml and rsl might not have been built Signed-off-by: Alex Moriarty <alex.moriarty@picknik.ai>
- This should fix #2516 - Several moveit2 packages already depend on rsl - PR #2482 added a depend in moveit_core This is only broken when building all of moveit2 deps in one colcon workspace And not using rosdep because colcon uses the package.xml and rsl might not have been built Signed-off-by: Alex Moriarty <alex.moriarty@picknik.ai>
Description
I updated the logger util library with some changes
I removed the assigning into the return of a function. It looks weird and I replaced it with a
set_logger
function.I added more static state so if
get_logger
is called beforeset_logger
it will still work as it will create amoveit
node. There might be a better way to do this. I did this so child loggers created without creating the base node would work. I added a test for the child logger without first assigning the node logger.