{"id":3184,"date":"2023-02-24T13:59:52","date_gmt":"2023-02-24T04:59:52","guid":{"rendered":"https:\/\/www.kdel.org\/wp\/?p=3184"},"modified":"2023-02-24T13:59:52","modified_gmt":"2023-02-24T04:59:52","slug":"error-invalid-new-expression-of-abstract-class-type-robotino_local_plannerrobotinolocalplanner","status":"publish","type":"post","link":"https:\/\/www.kdel.org\/wp\/?p=3184","title":{"rendered":"error: invalid new-expression of abstract class type \u2018robotino_local_planner::RobotinoLocalPlanner\u2019"},"content":{"rendered":"<p><mark><a href=\"https:\/\/www.kdel.org\/wp\/?p=3082\">Robotino\u3067ROS\uff08ct2034\uff09<\/a><\/mark>\u3067\u306e\u30a8\u30e9\u30fc\u3078\u306e\u5bfe\u5fdc\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\/opt\/ros\/noetic\/include\/class_loader\/meta_object.hpp:198:12: error: invalid new-expression of abstract class type \u2018robotino_local_planner::RobotinoLocalPlanner\u2019\r\n  198 |     return new C;\r\n<\/pre>\n<p>\u3068\u306e\u3053\u3068\uff0e<br \/>\n\u3053\u308c\uff0c\u5143\u3005\u306f\uff0cPLUGINLIB_DECLARE_CLASS\u3092PLUGINLIB_EXPORT_CLASS\u306b\u7f6e\u304d\u63db\u3048\u305f\u90e8\u5206\u3067\u3059\u306d\uff0e<br \/>\n\u305d\u306e\u5468\u8fba\u306e\u30e1\u30f3\u30c6\u304c\u8db3\u308a\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u304b\u306a\u3041\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">robotino@robotino:~\/catkin_ws\/src\/robotino_local_planner\/src$ rospack plugins --attrib=plugin nav_core\r\ndwa_local_planner \/opt\/ros\/noetic\/share\/dwa_local_planner\/blp_plugin.xml\r\nmove_slow_and_clear \/opt\/ros\/noetic\/share\/move_slow_and_clear\/recovery_plugin.xml\r\ncarrot_planner \/opt\/ros\/noetic\/share\/carrot_planner\/bgp_plugin.xml\r\nclear_costmap_recovery \/opt\/ros\/noetic\/share\/clear_costmap_recovery\/ccr_plugin.xml\r\nrotate_recovery \/opt\/ros\/noetic\/share\/rotate_recovery\/rotate_plugin.xml\r\nglobal_planner \/opt\/ros\/noetic\/share\/global_planner\/bgp_plugin.xml\r\nbase_local_planner \/opt\/ros\/noetic\/share\/base_local_planner\/blp_plugin.xml\r\nnavfn \/opt\/ros\/noetic\/share\/navfn\/bgp_plugin.xml\r\nrobotino_local_planner \/home\/robotino\/catkin_ws\/src\/robotino_local_planner\/blp_plugin.xml\r\n<\/pre>\n<p>\u3053\u3053\u3089\u8fba\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u898b\u305f\u3089\uff0c\u6b63\u3057\u3044\u66f8\u304d\u65b9\u304c\u898b\u3048\u3066\u304f\u308b\u304b\u3082\uff0e<\/p>\n<p>\u601d\u3063\u3066\u78ba\u8a8d\u3057\u3066\u307f\u305f\u3051\u3069\uff0c\u540c\u3058\u66f8\u304d\u65b9\u3057\u3066\u3044\u308b\u306a\u3041\u2026\uff0e<br \/>\n\u3042\u3068\uff0cPLUGINLIB_EXPORT_CLASS \u3092\u305d\u3082\u305d\u3082\u4f7f\u3063\u3066\u3044\u306a\u3044\u611f\u3058\u3060\u306a\u3041\u2026\uff0e<\/p>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\uff0cPLUGINLIB_EXPORT_CLASS\uff08\u3068\u3044\u3046\u304bPLUGINLIB_DECLARE_CLASS\uff09\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u3066\u307f\u305f\u3089\uff0cmake\u306f\u901a\u3063\u305f\u2026\uff0e<br \/>\n\u3053\u308c\u3067\u826f\u3044\u306e\u304b\u3069\u3046\u304b\u306f\u5206\u304b\u3089\u306a\u3044\u2026\uff0e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Robotino\u3067ROS\uff08ct2034\uff09\u3067\u306e\u30a8\u30e9\u30fc\u3078\u306e\u5bfe\u5fdc\uff0e \/opt\/ros\/ &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.kdel.org\/wp\/?p=3184\"> <span class=\"screen-reader-text\">error: invalid new-expression of abstract class type \u2018robotino_local_planner::RobotinoLocalPlanner\u2019<\/span> \u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[3,2,9,24],"tags":[],"class_list":["post-3184","post","type-post","status-publish","format-standard","hentry","category-logistics-league","category-robocup","category-robotino-3","category-robotino-4"],"_links":{"self":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3184"}],"version-history":[{"count":1,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3184\/revisions"}],"predecessor-version":[{"id":3185,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3184\/revisions\/3185"}],"wp:attachment":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}