Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 667

Package "ompl" does not follow the version conventions

$
0
0
Hi all! I'm trying do implement a base_global_planner plugin with RRT algorithm, for that I'm using the ompl package. The code compiles with no errors, and I followed the steps for registering the plugin but when I launch move_base I get the following error: [FATAL] [1405968490.244759123, 1.315000000]: Failed to create the rrt_planner/RRT_Planner planner, are you sure it is properly registered and that the containing library is built? Exception: Failed to load library /home/mateus/catkin_ws/devel/lib/librrt_planner.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /home/mateus/catkin_ws/devel/lib/librrt_planner.so: undefined symbol: _ZTVN4ompl4base13SO2StateSpaceE) The macro is set as: PLUGINLIB_EXPORT_CLASS(rrt_planner::RRT_Planner, nav_core::BaseGlobalPlanner) The xml file: A implementation of a grid based planner using RRT CMakeLists cmake_minimum_required(VERSION 2.8.3) project(rrt_planner) find_package(catkin REQUIRED COMPONENTS roscpp costmap_2d geometry_msgs nav_core nav_msgs pluginlib tf angles ) find_package( ompl ) find_package(Boost REQUIRED COMPONENTS system thread) catkin_package( INCLUDE_DIRS include LIBRARIES rrt_planner CATKIN_DEPENDS roscpp costmap_2d geometry_msgs nav_core nav_msgs pluginlib tf angles DEPENDS system_lib ompl ) include_directories( include ${catkin_INCLUDE_DIRS} ${ompl_INCLUDE_DIRS} ) add_library(rrt_planner src/rrt_planner.cpp ) target_link_libraries(rrt_planner ${catkin_LIBRARIES} ${ompl_LIBRARIES} ) The package.xml rrt_planner0.0.0The rrt_planner packagemateusTODOcatkinanglesboostcostmap_2deigen_conversionsgeometry_msgsnav_msgsnav_corepluginlibroscpptfanglesboostcostmap_2deigen_conversionsgeometry_msgsnav_msgsnav_coreomplpluginlibroscpptf I could not detect any error in the above code. So I think that the problem may be related with a warning I get when running catkin_make. The warning is the following: WARNING: Package "ompl" does not follow the version conventions. It should not contain leading zeros (unless the number is 0). Is my assumption correct? If so how can I solve that warning?

Viewing all articles
Browse latest Browse all 667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>