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

Global planner passes through the wall

asked 2015-03-16 12:37:09 -0600

heng gravatar image

updated 2015-03-16 18:43:35 -0600

David Lu gravatar image

When I give a navigation goal to my robot, the global path is just a simple straight between the goal point and my robot current location, even pass through the wall between them. The local planner works well, it is able to navigate to goal point when a short and simple navigation goal is given to it. The following is my move_base launch file:

  <node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen">
    <param name="base_global_planner" value="carrot_planner/CarrotPlanner"/>   <!--- new added -->
    <rosparam file="$(find my_robot_2dnav)/move_base_config/costmap_common_params.yaml" command="load" ns="global_costmap" />

    <rosparam file="$(find my_robot_2dnav)/move_base_config/costmap_common_params.yaml" command="load" ns="local_costmap" />

    <rosparam file="$(find my_robot_2dnav)/move_base_config/local_costmap_params.yaml" command="load" />

    <rosparam file="$(find my_robot_2dnav)/move_base_config/global_costmap_params.yaml" command="load" />

    <rosparam file="$(find my_robot_2dnav)/move_base_config/base_local_planner_params.yaml" command="load" />

    <remap from="cmd_vel" to="linear_angular"/>
edit retag flag offensive close merge delete


Is it because I am using carrot_planner? Is there any other planner I can use to solve this problem?

heng gravatar image heng  ( 2015-03-16 12:57:34 -0600 )edit

Yes. The carrot_planner is (intentionally) very simple, and the behavior you describe is well-documented.

ahendrix gravatar image ahendrix  ( 2015-03-17 01:34:20 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-03-16 13:45:27 -0600

Jim Rothrock gravatar image

Remove the base_global_planner line. The navfn/NavfnROS global planner will then be used.

edit flag offensive delete link more


Thanks! It works!

heng gravatar image heng  ( 2015-03-17 03:08:08 -0600 )edit

Question Tools

1 follower


Asked: 2015-03-16 12:37:09 -0600

Seen: 536 times

Last updated: Mar 16 '15