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

TEB_local_planner inflation_dist vs Costmap_2D Inflation layer

asked 2017-11-21 10:27:36 -0600

Mobile_robot gravatar image

updated 2017-11-21 10:28:44 -0600

Hi everyone,

I can not understand the difference between the TEB_local_planner's inflation_dist parameter and the Inflation Layer in costmap2D (inflation_radius parameter ) and how I can configure these two parameters?

I would appreciate if you look at this question @croesmann .

Thanks in advance,

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2018-02-01 01:41:52 -0600

croesmann gravatar image

The reasons for adding a separate inflation layer to the teb_local_planner are:

The costmap is actually a grid with occupied cells. Lethal obstacles have maximum cell cost, free space zero cost. The concept of inflation adds an exponential cost decay in the vicinity of lethal obstalces. This representation is perfectly suited for sampling-based planners that can simply evaluate the cost of the current trajectory sample in a discrete /counting manner. On the other hand, planning approaches with continuous optimization (requiring derivatives of the cost function) cannot directly use such a grid-based cost-function. In order to integrate the teb_local_planner as part of the navigation stack, lethal obstacle cells are included as point-shaped obstacles. This is by far not efficient, but works for small/mid-scale costmap sizes. But if we would also include all the inflation cells, the computational burden required for planning would be intractable. Hence I just added a separate cost function term for each lethal obstacle with a smaller weight to slightly penalize the distance to obstacles even in case no collision occurs.

edit flag offensive delete link more

Comments

If I understand correctly from your comment, the inflation layer for local costmap when using TEB planner is not necessary.

spoluri gravatar image spoluri  ( 2021-06-09 18:50:18 -0600 )edit
0

answered 2020-07-07 22:27:51 -0600

942951641@qq.com gravatar image

how to understand min_obstacle_dist?

for a differential circle robot, its footprint is a point, for example ,robot radius is 0.3m; min_obstacle_dis should be 0.4 to it center ? or 0.1 to its Circumscribed circle;

which is right?

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-11-21 10:27:36 -0600

Seen: 1,319 times

Last updated: Jul 07 '20