-
Notifications
You must be signed in to change notification settings - Fork 568
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
fix: OctoMap and Filtered_Cloud Not Updating During Movement Execution #3209
fix: OctoMap and Filtered_Cloud Not Updating During Movement Execution #3209
Conversation
… updates during motion
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #3209 +/- ##
==========================================
- Coverage 46.01% 45.61% -0.40%
==========================================
Files 714 714
Lines 62304 62288 -16
Branches 7532 7529 -3
==========================================
- Hits 28666 28408 -258
- Misses 33471 33713 +242
Partials 167 167 ☔ View full report in Codecov by Sentry. |
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.
Thanks! To clarify, the fix is simply using a new callback group to process these subscriber callbacks separately from everything else, but the type of callback is less relevant in this case?
Anyways, just one very small comment for readability.
moveit_ros/perception/pointcloud_octomap_updater/src/pointcloud_octomap_updater.cpp
Outdated
Show resolved
Hide resolved
Also seems you are right about the I looked at https://github.com/ros-perception/image_common and it wouldn't be too hard to add by just copying how it's done for the |
d6f6c38
to
ce08669
Compare
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.
Great, thank you!
I'm gonna request one more review on this one just in case.
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.
Thank you! Do you think we should be switching to another API for depth image processing?
Thanks! Do you mind opening and issue for
|
#3209) * fix: adds MutuallyExclusive to pointcloud subscriber to allow octomap updates during motion * refactor: adjust macro for readability (cherry picked from commit 246aa58) # Conflicts: # moveit_ros/perception/pointcloud_octomap_updater/include/moveit/pointcloud_octomap_updater/pointcloud_octomap_updater.hpp # moveit_ros/perception/pointcloud_octomap_updater/src/pointcloud_octomap_updater.cpp
#3209) (#3212) (cherry picked from commit 246aa58) Co-authored-by: Marco Magri <[email protected]>
…n (backport #3209) (#3211) (cherry picked from commit 246aa58) Co-authored-by: Marco Magri <[email protected]>
Description
MutuallyExclusive callbackgroup has been added to
point_cloud_subscriber_
to allow updating octomap during robot motion. See #2192Additional notes
I was not able to do the same fix to the
depth_image_octomap_updater
sinceimage_transport::create_camera_subscription
seems to not allow passingSubscriptionOptions
.I noticed that there is a big computational time mismatch between the two approaches (depth/pointcloud). After digging in a bit i found that the main computational time difference comes from
lazy_free_space_updater
but unfortunately I have not time to fix it. I will use the pointcloud instead._