costmap_2d::ObstacleLayer meets problem with calculating cost value of obtacles inside footprint
Hello everyone, I am using costmap_2d::ObstacleLayer to calculate local costmap of 2D laserscan. Normally, the obstacles inside footprint are ignored and not be calculated cost value. However, sometimes, whether the robot moves or stands still, somehow, the costmap_2d::ObstacleLayer still calucates cost value of these obstacles, especially those near the footprint boundary. You can see my photo photo link. I have tried spatio_temporal_voxel_layer, and I met the same problem. I guess there are some missing in logic of implementation of these plugins.
Anyone here solved the problem ? Thanks in advance and have a nice day!