-
Notifications
You must be signed in to change notification settings - Fork 529
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
MGI CallbackGroup doesn't trigger when running external Executor + Fast-DDS #1474
Comments
Indeed, rolling back #1305 prevents the issue. |
Does MoveGroup receive the planning call and does it return a result? |
Yes, planning succeeds. I'm not sure if it tries to return a value or not. (If it does try to return a value, it doesn't make it.) Easy to test with the tutorial |
What do you mean with "parallel with 'other things'"? Running MGI requests from multiple threads? |
|
Ok, this is odd. I could reproduce this very easily, and indeed changing executor or callback group settings wouldn't fix this. However, moving MGI initialization before the SingleThreadedExecutor does the trick for me:
This looks like some rmw/CallbackGroup bug to me, possibly related to ros2/rclcpp#1611. |
I just encountered this yesterday as well... My ROS Answers post here from earlier today for reference. |
I can confirm this works in my application as well. |
This works for me as well |
Thanks @mikeferguson, I just confirmed that everything is fine when using Cyclone DDS (link for anyone who wants to reproduce). Was this the issue you were referring to? The bug has hopefully been fixed already with ros2/rmw_fastrtps#619, we should check that. |
This does seem to fix the issue for me too, has it been changed in the documentation yet? |
I gave this a shot yesterday but it didn't completely fix the issue. I could proceed a little farther through the tutorials but they still deadlocked eventually. I guess switching to Cyclone DDS is the best fix, unfortunately. |
so... what is the current status of this? Haven't the FastDDS issues been resolved by now? |
Fixed in the latest release ros2/rmw_fastrtps#650 |
Hi, Could mentioned problem be connected with following maybe? I'm not able to set up |
Description
The OMPL constrained planning tutorial here no longer works.
I've traced it down to this:
The last line does not print. In other words, the
mgi.plan()
call is blocking. I suspect this has to do with conflicting callback groups.I tried a multi-threaded executor as well as two separate nodes.
I'm suspicious that this PR caused the bug: #1305
The text was updated successfully, but these errors were encountered: