How to clear the traces of the dynamic obstacle in a costmap?
Hi,
I am trying to get an instantaneous occupancy grid by using laser scanner (in stageros) and get the locations and dimensions of the obstacles. With the help of costmap_2d package, I am able to generate the occupancy grid but there is an issue with the moving obstacles. When only the main vehicle is moving and there are no dynamic obstacles, clearing is happening properly. But when there is a moving obstacle, the moving obstacle's occupancy information is not being updated and hence the traces are left behind.
Please refer to this video
I have set marking and clearing values to be true, and observation_persistence is also 0.0. I can't think of anything beyond these three parameters. Are there any other parameters I need to set? What could be the solution?
Please, help.
Thank you.