Skip to content
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

moveit_servo: Warning points user to non-working intra-process communication #2632

Closed
SammyRamone opened this issue Dec 22, 2023 · 5 comments · Fixed by #2752
Closed

moveit_servo: Warning points user to non-working intra-process communication #2632

SammyRamone opened this issue Dec 22, 2023 · 5 comments · Fixed by #2752
Assignees
Labels
bug Something isn't working servo

Comments

@SammyRamone
Copy link
Contributor

SammyRamone commented Dec 22, 2023

Description

If moveit_servo is started it will give the following warning:
Intra-process communication is disabled, consider enabling it by adding: extra_arguments=[{'use_intra_process_comms' : True}] to the Servo composable node in the launch file moveit_servo.servo_node
Naturally, one is inclined to enable this after reading this warning. However, this will lead to the following error:
Component constructor threw an exception: intraprocess communication is not allowed with a zero qos history depth value

Therefore, I think that this warning is currently very misleading.

This issue has already been discussed in #722 where the intra-process communication was removed by @tylerjw to resolve this bug. @henningkayser already proposed to also remove this warning. However, this was not done.

I propose to remove/disable the warning for now and to open another issue about allowing intra-process communication in MoveIt2, (which is currently blocked by some QoS settings).
I also did a quick search if I can find the where this use of a zero history depth qos happens, but I did not find anything in the moveit code.

Your environment

  • ROS Distro: Rolling
  • OS Version: Ubuntu 22.04
  • Source build 2.8.0
  • Cyclone DDS

Steps to reproduce

Launch moveit_servo as a ComposableNode.

Expected behaviour

Either no warning that the intra-process communication is not used or that the node works when intra-process communication is enabled.

Actual behaviour

Following advice of the warning leads to an error.

@SammyRamone SammyRamone added the bug Something isn't working label Dec 22, 2023
@ibrahiminfinite
Copy link
Contributor

@sea-bass
Did you guys come across this error ?
I don't remember testing this during the refactor, so this is probably something that was missed.

@sea-bass
Copy link
Contributor

sea-bass commented Jan 4, 2024

I recall seeing that warning when testing, and am OK with the fix in #722 to not enable it.

It likely cropped up in rolling later than your refactor, so it's possible it was missed because it wasn't there at the time!

@henningkayser
Copy link
Member

@SammyRamone would you mind filing a PR to fix this? ;)

@SammyRamone
Copy link
Contributor Author

@SammyRamone would you mind filing a PR to fix this? ;)

I can do that, but it will take some time since I will be busy till end of february

@SammyRamone
Copy link
Contributor Author

@henningkayser I opened a PR in #2752

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working servo
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants