Costmap2d inflation radius
I've been trying to increase the inflation radius of obstacles in the local_costmap for move_base
. The problem that I've noticed is that the inflation radius as viewed by Costmap2dPublisher
never changes. Using rosparam get
, I verified that the inflation_radius
parameter was correctly set, but even setting this value as high as 10m has no effect. It seems that the inflation radius of the obstacles is directly linked to the circumscribed radius of the robot footprint.
If I set the robot footprint to a 0.5m x 0.5m box, the inflation radius is 0.25m. If I set the robot footprint to a 0.8m x 0.8m box, the inflation radius is 0.4m. From the documentation on costmap_2d
, it seemed that I could set my own inflation radius, but I've been unable to do so.
I would like to be able to set two different values for the footprint
and the inflation_radius
. How can I go about doing so?