costmap_2d with nothing but a clearing footprint?
I'd like to set up a costmap_2d initialized to be 100% unknown or obstacles, and have it do nothing except clear grid locations within the footprint. I don't want to have a static map that is unchangeable, just provide initial values that can be cleared by moving the footprint over them.
As it is now the static map doesn't get altered by the obstacle layer, it preserves it regardless of the footprint moving over it.
Do I need to create a fake sensor that will put an obstacle in every grid location when I want to initialize it?
This is with jade.
* Update *
I've tried to publish a point cloud into the obstacle layer that drops a point into every grid location, but even then the footprint is only cleared within the current footprint, if I move the footprint the old obstacle grid points now outside the footprint are restored.
Publishing a single large point cloud that attempts to cover the entire grid (this isn't quite working either, it is only clearing a circle, but more likely that is my fault) also causes the costmap node to issue a huge costmap_update every cycle, even though nothing is changing or getting updated, and it complains about not being able to keep up: [Map update loop missed its desired rate of 10.0000Hz... the loop actually took 1.4570 seconds]
.