-
Notifications
You must be signed in to change notification settings - Fork 6
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
[urdf] package.xml: add missing exec_depend to urdf_parser_plugin #34
[urdf] package.xml: add missing exec_depend to urdf_parser_plugin #34
Conversation
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.
So I don't totally see how this is possible.
urdf_parser_plugin
is a header-only library; it only installs a parser.h file plus some CMake glue.
Further, this package (urdf
) only uses urdf_parser_plugin
in internal C++ files (in src/model.cpp and src/urdf_plugin.cpp). So I don't see how this can require an exec_depend
.
Can you give us some more information about what failed and why you think this is the fix?
Without it the exception |
But the thing is that it is a templated class, so that code is all inlined at build time. It smells to me like the problem is somewhere else. But I'll defer to @sloretz here, who did the work to add in |
I created a little bit unconventional way to reproduces this with a normal ROS workspace.
|
Ah, thank you! That helps a lot. And now I see what is going on. During instantiation of the So you are totally correct; there is a runtime dependency here, it is just a somewhat unconventional one. In that case, your patch is totally correct, but I'll request that you add a comment above the new Thanks again. |
3935cd7
to
53b4080
Compare
I tried to summarize the main reason why its needed from your findings. |
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.
Small grammatical fixes. Once those are in, I'm happy to approve and run CI on it. Thanks.
… of header only lib Co-authored-by: Chris Lalancette <[email protected]>
Because its been a build dependency that was probably not a visible problem in a normal ROS workspace.
However when used in context of openembedded (where the build space and runtime space are separated) this results in
urdf_parser_plugin
not been part of the image.fixup for #13