Skip to content

Creating plugin base in same package #255

@mrawding

Description

@mrawding

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions