Skip to content

error: invalid new-expression of abstract class type ‘MinimalPlanner’ return new C; #19

Description

@Jose-Araujo

Hello,

I am trying build the packages, but when I execute "catkin_make", the following error appears:

/opt/ros/melodic/include/class_loader/meta_object.hpp: In instantiation of ‘B* class_loader::impl::MetaObject<C, B>::create() const [with C = MinimalPlanner; B = nav_core::BaseLocalPlanner]’:
/home/jose/catkin_ws/src/learning_ros/Part_4/example_nav_plugin/src/minimal_nav_plugin.cpp:54:1: required from here
/opt/ros/melodic/include/class_loader/meta_object.hpp:196:12: error: invalid new-expression of abstract class type ‘MinimalPlanner’
return new C;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions