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

HOW-TO: How to use custom convertFromString in Node loaded as Plugin #953

Open
LUGGGI opened this issue Mar 24, 2025 · 0 comments
Open

HOW-TO: How to use custom convertFromString in Node loaded as Plugin #953

LUGGGI opened this issue Mar 24, 2025 · 0 comments

Comments

@LUGGGI
Copy link

LUGGGI commented Mar 24, 2025

Hello,

I have a Node that uses a custom type. I've created the template specialization for convertFromString for that type.

When I use the Node directly, meaning registering it in the same file with factory.registerNodeType, everything works and the type gets converted.

But when I use the Node as a plugin I get the error that the specialization is not found:

You didn't implement the template specialization of convertFromString for this type: geometry_msgs::msg::Point_<std::allocator<void> >

I tried adding the template specialization to the file where I load the plugins, but that didn't work (I already thought it wouldn't work, but didn't have any other ideas.

Does anyone know how to do this? I would really appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant