Ask Your Question
0

Local costmap parameters for tight spaces

asked 2016-04-25 14:36:56 -0600

I'm tuning our navigation stack for a smaller mobile platform in an office environment and we're having trouble adjusting the costmap so that the local planner can get through doors. Other than this issue we have a system that works well. Can anyone recommend parameters to investigate for tuning? We've looked at cost_scaling_factor, inflation_radius, and occdist_scale. I've uploaded a screenshot from rviz and circled three door openings. The global planner appears to plan the path ok, but the local planner gets to the door and will typically enter a recovery behavior and abort the goal.

image description

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2016-04-27 04:23:49 -0600

Procópio gravatar image

The first thing that comes to my mind looking at your image is that you should reduce the value of your resolution parameter (reduce the size of each cell).

Besides that, you should configure your robot_radius as close to the robot's real radius as possible, maybe with 1cm of tolerance. Because that will be the threshold for positions where the robot will definitely collide.

For the other parameters you mentined, cost_scaling_factor and inflation_radius, they should not block the path planning, but instead increase the cost of passing too close to the wall. In an extreme condition, you can set the inflation_radius to match your robot_radius. In this case, you are telling the planner that it can be as close as possible to the limit positions that will result in a collision, because you eliminate the "buffer zone" as explained here.

edit flag offensive delete link more

Comments

Thanks. That's helpful and will try resolution. Increasing cost_scaling_factor and decreasing occdist_scale has helped as well.

dpiet gravatar imagedpiet ( 2016-04-27 16:58:55 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2016-04-25 14:36:56 -0600

Seen: 530 times

Last updated: Apr 27 '16