Skip to content

Latest commit

 

History

History
113 lines (72 loc) · 3.15 KB

Tutorials.md

File metadata and controls

113 lines (72 loc) · 3.15 KB

Tutorials

Launch example node with following command:

$ roslaunch pcl_tutorials_ros example.launch \
    example:=EXAMPLE_NAME \
    number:=EXAMPLE_NUMBER \
    realsense:=SET_TRUE_TO_USE_REALSENSE \
    gazebo:=SET_TRUE_TO_RUN_GAZEBO_SIMULATION \
    use_file:=SET_TRUE_TO_LOAD_PCD_FILE file:=PCD_FILE_PATH

Please refer to https://pcl.readthedocs.io/projects/tutorials/en/master/ for PCL details.

Filtering

The Example code is here.

References: https://pcl.readthedocs.io/projects/tutorials/en/master/#filtering

0: Filtering a PointCloud using a PassThrough filter

roslaunch pcl_tutorials_ros example.launch example:=filtering number:=0 gazebo:=true

passthrough

1: Downsampling a PointCloud using a VoxelGrid filter

roslaunch pcl_tutorials_ros example.launch example:=filtering number:=1 gazebo:=true

downsampling

2: Removing outliers using a StatisticalOutlierRemoval filter

roslaunch pcl_tutorials_ros example.launch example:=filtering number:=2 use_file:=true file:=table_scene_lms400.pcd

statisticalOutlierRemoval

3: Projecting points using a parametric model

roslaunch pcl_tutorials_ros example.launch example:=filtering number:=3 gazebo:=true

projecting

4: Extracting indices from a PointCloud

roslaunch pcl_tutorials_ros example.launch example:=filtering number:=4 gazebo:=true

extractingIndices

back to page top

KdTree

The example code is here.

References: https://pcl.readthedocs.io/projects/tutorials/en/master/#kdtree

roslaunch pcl_tutorials_ros example.launch example:=kdtree gazebo:=true

kdtree

back to page top

Segmentation

The example code is here.

References: https://pcl.readthedocs.io/projects/tutorials/en/master/#segmentation

0: Plane model segmentation

roslaunch pcl_tutorials_ros example.launch example:=segmentation number:=0 gazebo:=true

plane_model

1: Cylinder model segmentation

TBD

2: Euclidean Cluster Extraction

roslaunch pcl_tutorials_ros example.launch example:=segmentation number:=2 gazebo:=true

euclideanClusterExtraction

back to page top