Adding global planner plugins to ROS turtlebot.

asked 2020-05-17 18:14:35 -0500

Adi_0906 gravatar image

updated 2020-05-18 10:04:34 -0500

I have been unsuccessful in using the global planner plugins available on Github. I have the turtlebot3 navigation stack on ros melodic. I need help in using these plugins with move_base. please feel free to ask for more details. I will gladly provide them.

thanks in advance!

EDIT: I follow the tutorials https://www.youtube.com/watch?v=t4A_n....

I get the following error most of the time

Failed to create the global_planner/GlobalPlanner planner, are you sure it is properly registered and that the containing library is built? Exception: According to the loaded plugin descriptions the class global_planner/GlobalPlanner with base class type nav_core::BaseGlobalPlanner does not exist. Declared types are navfn/NavfnROS

I cant write my own plugin because my CPP knowledge is limited(working on it) and I don't have time.

this is how my workspace is set up:

aditya@aditya-Lenovo-ideapad-300-15ISK:~/catkin_ws/devel$ cd .. aditya@aditya-Lenovo-ideapad-300-15ISK:~/catkin_ws$ cd src aditya@aditya-Lenovo-ideapad-300-15ISK:~/catkin_ws/src$ ls CMakeLists.txt frames.gv ros_course_part2 ros_essentials_cpp ros_service_assignment rrt_planner srl_global_planner turtlebot3 turtlebot3_msgs turtlebot3_simulations turtlesim_cleaner aditya@aditya-Lenovo-ideapad-300-15ISK:~/catkin_ws/src$ cd turtlebot3 aditya@aditya-Lenovo-ideapad-300-15ISK:~/catkin_ws/src/turtlebot3$ ls ISSUE_TEMPLATE.md LICENSE README.md turtlebot3 turtlebot3_bringup turtlebot3_description turtlebot3_example turtlebot3_navigation turtlebot3_slam turtlebot3_teleop aditya@aditya-Lenovo-ideapad-300-15ISK:~/catkin_ws/src/turtlebot3$ cd turtlebot3_navigation aditya@aditya-Lenovo-ideapad-300-15ISK:~/catkin_ws/src/turtlebot3/turtlebot3_navigation$ ls CHANGELOG.rst CMakeLists.txt launch maps package.xml param rviz aditya@aditya-Lenovo-ideapad-300-15ISK:~/catkin_ws/src/turtlebot3/turtlebot3_navigation$

edit retag flag offensive close merge delete

Comments

What is you problem? What have you tried? What doesn't work? What do you want to achieve?

mgruhler gravatar image mgruhler  ( 2020-05-18 03:44:42 -0500 )edit

thanks for responding. so I have made a navigation simulation with existing planners. however, I want to use sampling-based algorithms as a global planner. I had cloned several repositories from GitHub, but I always get errors where it fails to create the global planner class. I have edited the question. please help.

Adi_0906 gravatar image Adi_0906  ( 2020-05-18 09:59:09 -0500 )edit