ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

I would suggest deriving your layer from either ObstacleLayer or VoxelLayer, so that you can internally update the costmap_ and voxel_grid_ that they use. That said, I'd also be wondering why you are clearing out laserscan data, which tends to be one of the most reliable/robust types of sensor data, is that really safe and/or the right thing to do?