move-base-ompl icon indicating copy to clipboard operation
move-base-ompl copied to clipboard

how to use it?

Open longjianquan opened this issue 6 years ago • 7 comments

i have compile this project.but how to us it?roslaunch turtlebot_stage turtlebot_in_stage? i have add in move_base.launch.xml . but when i launch roslaunch turtlebot_stage turtlebot_in_stage it show [FATAL] [1520940319.066757250, 1.800000000]: Failed to create the ompl_global_planner/OmplGlobalPlanner planner, are you sure it is properly registered and that the containing library is built? Exception: Failed to load library /home/ljq/catkin_ws/devel/lib//libompl_global_planner_lib.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/ljq/catkin_ws/devel/lib//libompl_global_planner_lib.so: undefined symbol: _ZNK4ompl4base21OptimizationObjective11isSatisfiedENS0_4CostE) [move_base-10] process has died [pid 6257, exit code 1, cmd /opt/ros/indigo/lib/move_base/move_base cmd_vel:=navigation_velocity_smoother/raw_cmd_vel odom:=odom scan:=scan __name:=move_base __log:=/home/ljq/.ros/log/3415c6a6-26b1-11e8-b9e4-1c1b0daf1897/move_base-10.log]. log file: /home/ljq/.ros/log/3415c6a6-26b1-11e8-b9e4-1c1b0daf1897/move_base-10*.log

how to solov it? thanks

longjianquan avatar Mar 13 '18 11:03 longjianquan

i have found the solution. the CMakelists.txt should add a line (target_link_libraries(ompl_global_planner_lib ${OMPL_LIBRARIES}))

https://answers.ros.org/question/224971/cannot-load-ompl-global-planner-plugin/

longjianquan avatar Mar 13 '18 11:03 longjianquan

I update the code. Does this solve the issue? Is this issue duplicate of #5 ?

windelbouwman avatar Mar 13 '18 18:03 windelbouwman

yes i have solve it. Thank you

longjianquan avatar Mar 15 '18 11:03 longjianquan

What do you mean? Can you describe in more words what you want to do?

windelbouwman avatar Mar 21 '18 17:03 windelbouwman

Btw, was this issue a duplicate of #5?

windelbouwman avatar Mar 21 '18 17:03 windelbouwman

No, that is not my mail address. Please use this issue tracker to put your question in.

windelbouwman avatar Mar 24 '18 10:03 windelbouwman

I followed this and still the same error why?

xujiajie1997 avatar May 23 '22 08:05 xujiajie1997