-
Notifications
You must be signed in to change notification settings - Fork 83
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
pluginlib
plugin loading does not work in composable nodes
#330
Comments
I faced a similar issue and looked a bit into it With the regular node https://github.com/ros/class_loader/blob/iron/include/class_loader/class_loader_core.hpp#L313 calls For the regular node the I still need to find out why
but when I hack in that I always override the output of |
Did you have any progress on this? |
After looking into this, it seems this may be an instance of an issue with dynamic linking that the class-loader wiki page warns against:
When building with nix, it is easy for a library containing a plugin to be hard-linked to the runpath of a dependent package. |
pluginlib
plugins fail to load in nodes launched as components.When executed from a composable node, this line in
class_loader
seems to returnnullptr
when it would normally not. I have not found out why.To reproduce
Setup:
Working: Regular nodes
Note that the
static_layer
plugin loads successfully.Broken: Composable nodes
Note that the
static_layer
plugin fails to load.The text was updated successfully, but these errors were encountered: