ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

How to change global planner to carrot planner?

asked 2022-10-06 11:04:02 -0500

AchrafGazzeh gravatar image

How to change global planner to carrot planner? what files should I change

edit retag flag offensive close merge delete

Comments

I believe you are running move_base. What is your means of activation? Depending on that, there are different files to change.

miura gravatar image miura  ( 2022-10-08 04:28:41 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-10-06 11:31:02 -0500

ljaniec gravatar image

Here are instructions for running chosen global planner on Turtlebot.

There are a few steps to follow to run your planner in turtlebot. First, you need to copy the package that contains your global planner (in our case global_planner) into the catkin workspace of your Turtlebot (e.g. catkin_ws). Then, you need to run catkin_make to export your plugin to your turtlebot ROS environment. Second, you need to make some modification to move_base configuration to specify the new planner to be used. For this, follow the three steps(...)

You have to modify move_base.launch.xml and:

(...) add the new planner as parameters of the global planner, as follows:

<node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen">

Save and close the move_base.launch.xml. Note that the name of the planner is global_planner/GlobalPlanner the same specified in global_planner_plugin.xml. Now, you are ready to use your new planner.

You have to modify it to use carrot_plannerin the XML file - carrot_planner is already there in example plugins.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-10-06 11:04:02 -0500

Seen: 158 times

Last updated: Oct 06 '22