A ROS1 (Noetic) package for ground segmentation using the Cloth Simulation Filter (CSF) method.
- Subscribes to a point cloud topic and transforms it to the
base_linkframe - ROI filtering (z: [-2,3]m, can be adjusted)
- Uses CSF (Cloth Simulation Filter) for ground segmentation
- Publishes segmented ground and obstacle point clouds
- Subscribed:
/camera/depth/color/points(sensor_msgs/PointCloud2, configurable)
- Published:
/ground_points(sensor_msgs/PointCloud2)/obstacle_points(sensor_msgs/PointCloud2)
- Make sure you have ROS Noetic and PCL installed.
- Build the package:
cd ~/catkin_ws catkin_make source devel/setup.bash
- Run the node:
rosrun csf_ground_segmentation csf_ground_segmentation_node
- Visualize
/ground_pointsand/obstacle_pointsin RViz.
- The CSF library is already embedded in this project. No additional compilation or linking is required.
MIT
This project directly includes source code from the CSF library (https://github.com/jianboqi/CSF), the library uses Apache-2.0 license. Please refer to the CSF repository for license details.