move-base-ompl
move-base-ompl copied to clipboard
how to use it?
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
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/
I update the code. Does this solve the issue? Is this issue duplicate of #5 ?
yes i have solve it. Thank you
What do you mean? Can you describe in more words what you want to do?
Btw, was this issue a duplicate of #5?
No, that is not my mail address. Please use this issue tracker to put your question in.
I followed this and still the same error why?