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

Why is move_base taking shortcuts?

asked 2012-02-14 01:14:39 -0600

Procópio gravatar image

updated 2012-02-14 01:15:59 -0600

Hi. In my simulations, my move_base is not properly following a path. The planner's plan is being generated correctly, but when the robot starts to move, it is always trying to move to the final portion of my global plan.

For example, if my planner's path makes a turn around a corner, my robot tries to cut the corner straight to the final portion of my global plan, instead of following the generated path.

I tried to change move_base parameters as simple attractor or heading_scoring, but the behavior does not change.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2012-02-14 01:52:23 -0600

Alexandr Buyval gravatar image

Maybe score of goal is higher than score of path. Try set parameter goal_distance_bias = 0 or 0.1 for local planer.

edit flag offensive delete link more


thanks, that actually helped at some extent. now the robot tries to stay on the path, but very frequently it stops and start rotating in place. this did not happen with the goal_distance_bias set at default value.

Procópio gravatar image Procópio  ( 2012-02-14 03:16:35 -0600 )edit

Now try to increase goal_distance_bias until the desired result

Alexandr Buyval gravatar image Alexandr Buyval  ( 2012-02-14 03:22:13 -0600 )edit

it is hard to find a balance between rotating in place and following the global path. I also found problems with my simulated laser (had the wrong topic name), that would explain some of the problems I was having, as not inflating local obstacles, which resulted in robot crashing on walls. thanks

Procópio gravatar image Procópio  ( 2012-02-21 20:09:08 -0600 )edit

answered 2012-02-14 02:47:37 -0600

DimitriProsser gravatar image

Try following this tutorial. It will help you with setting all of the parameters for navigation.

edit flag offensive delete link more


I will check it out. thanks

Procópio gravatar image Procópio  ( 2012-02-14 03:27:08 -0600 )edit

Question Tools

1 follower


Asked: 2012-02-14 01:14:39 -0600

Seen: 1,185 times

Last updated: Feb 14 '12