ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
manifest.xml
<package>
<description brief="set_path_plug">
set_path_plug
</description>
<author>Guillaume</author>
<license>BSD</license>
<review status="unreviewed" notes=""/>
<url>http://ros.org/wiki/set_path_plug</url>
<depend package="message_generation"/>
<depend package="roscpp"/>
<depend package="rospy"/>
<depend package="std_msgs"/>
<depend package="tf"/>
<depend package="costmap_2d"/>
<depend package="nav_core"/>
<depend package="geometry_msgs"/>
<depend package="angles"/>
<depend package="base_local_planner"/>
<depend package="pluginlib"/>
<export>
<nav_core plugin="${prefix}/global_planner_plugin.xml" />
</export>
</package>
global_planner_plugin.xml
<library path="lib/libset_path_plug">
<!-- <class name="global_planner/GlobalPlanner" type="global_planner::GlobalPlanner" base_class_type="nav_core::BaseGlobalPlanner">-->
<class name="global_planner/GlobalPlanner" type="global_planner::GlobalPlanner" base_class_type="nav_core::BaseGlobalPlanner">
<description>This is a global planner plugin.</description>
</class>
</library>
and PLUGINLIB_DECLARE_CLASS(set_path_plug, global_planner_plugin, global_planner::GlobalPlanner, nav_core::BaseGlobalPlanner) at the begining of the .cpp file.
I was not able to see the output because i forgot the argument output="screen" for my move_base_node in my launchfile