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

Why is move_base taking shortcuts?

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

Procópio gravatar image

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

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
2

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

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

Comments

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 -0500 )edit

Now try to increase goal_distance_bias until the desired result

Alexandr Buyval gravatar image Alexandr Buyval  ( 2012-02-14 03:22:13 -0500 )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 -0500 )edit
1

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

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

Comments

I will check it out. thanks

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

Question Tools

1 follower

Stats

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

Seen: 1,195 times

Last updated: Feb 14 '12