Subtract a static map (OccupancyGridMap
) from a point cloud (PointCloud2
). This can be used for example to remove obstacles from a point cloud or 2D lidar scan. The map serves as a masking layer for the point cloud.
cd ament_ws/src
git clone https://github.com/giuschio/static_map_filter_2.git
cd ..
colcon build
ros2 launch laser_static_map_filter laser_static_map_filter.launch.py