pluginlib
pluginlib copied to clipboard
Creating plugin base in same package
Hello,
I'm trying to create a plugin package. I want the base class to be in the same package as the other plugins. Is this a limitation of pluginlib? It's having trouble finding the class.
I have following structure.
package
- include/package/base.hpp
- incluce/package/plugin.hpp src/plugin.cpp (with export)
Class structure is base_namespace::class A
plugin_namespace::Class B : public A
I try to load B with base class A and I get the error
According to the loaded plugin descriptions the class plugin_namespace::B with base class type base_namspace::A does not exist. Declared types are plugin_namespace::B
Any thoughts on how I can keep it in the same package or examples to provide? Thanks!