problem with exploration planner plugin

asked 2018-02-06 03:24:01 -0500

mahdi_rsi gravatar image

updated 2018-02-06 11:19:46 -0500

jayess gravatar image

HI im using Ros kinetic on ubuntu 16.04 I got into a truoble with providing a plugin for hector exploration planner package

[FATAL] [1517908148.860877527, 0.632000000]: Failed to create the hector_exploration_planner/HectorExplorationPlanner exploration planner, are you sure it is properly registered and that the containing library is built? Exception: According to the loaded plugin descriptions the class hector_exploration_planner/HectorExplorationPlanner with base class type mrl_nav_core::BaseExplorationPlanner does not exist. Declared types are terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
  what():  boost: mutex lock failed in pthread_mutex_lock: Invalid argument

and my package.xml file is :

<?xml version="1.0"?>
<package>
  <name>hector_exploration_planner</name>
  <version>0.0.0</version>
  <description>hector_exploration_planner is a planner that can both plan paths to goal points and generate goals to explore unknown environments</description>

  <maintainer email="kohlbrecher@sim.tu-darmstadt.de">Stefan Kohlbrecher</maintainer>
  <license>BSD</license>

  <buildtool_depend>catkin</buildtool_depend>
  <build_depend>cmake_modules</build_depend>  
  <build_depend>costmap_2d</build_depend>
  <build_depend>dynamic_reconfigure</build_depend>
  <build_depend>geometry_msgs</build_depend>
  <build_depend>hector_nav_msgs</build_depend>
  <build_depend>nav_core</build_depend>
  <build_depend>nav_msgs</build_depend>
  <build_depend>pluginlib</build_depend>
  <build_depend>rosconsole</build_depend>
  <build_depend>roscpp</build_depend>
  <build_depend>rospy</build_depend>
  <build_depend>mrl_nav_core</build_depend>
  <run_depend>costmap_2d</run_depend>
  <run_depend>dynamic_reconfigure</run_depend>
  <run_depend>geometry_msgs</run_depend>
  <run_depend>hector_nav_msgs</run_depend>
  <run_depend>nav_core</run_depend>
  <run_depend>nav_msgs</run_depend>
  <run_depend>pluginlib</run_depend>
  <run_depend>rosconsole</run_depend>
  <run_depend>roscpp</run_depend>
  <run_depend>rospy</run_depend>
  <run_depend>mrl_nav_core</run_depend>

  <export>
       <hector_exploration_planner plugin="${prefix}/plugin.xml" />
  </export>
</package>
edit retag flag offensive close merge delete