First, if anyone is interested, I have a paper in review that
thoroughly explains the layered costmap algorithm. Contact me if you
want a version.
@Rein
Your points to Jorge were spot on. I think you have the right idea for
the inflation layer, but just to specify further: the semantic meaning
of points in the costmap that have the value INFLATED_OBSTACLE_COST is
points where if the robot's center is at this point, some part of the
robot WILL be in collision. Values greater than the circumscribed cost
are places where the robot might be in collision at some orientation.
You're completely correct though that exponential decay is arbitrary.
It does less than the diagram you linked to would make it seem.
Adding a layer to your setup like you described should work fine. The
only reason I suggested making a layer of layers is if you wanted to
combine multiple layers using strictly probabilistic models. However,
since the static/obstacle layers fit into the probabilistic model, it
should be fine to just use one simple layer.
I'm happy to see others really digging into this code, so please let
me know if you have other questions.
-DL!!