Hi everyone,
I’ve created an alternative to the costmap_2d::InflationLayer.
It implements the distance transform algorithm from Felzenszwalb and Huttenlocher and might give you a performance improvement. Consider trying it out, especially if you have a “large” robot-footprint (compared with your costmap resolution).