Skip to content

Instantly share code, notes, and snippets.

View tanmayshankar's full-sized avatar

Tanmay Shankar tanmayshankar

View GitHub Profile
@tanmayshankar
tanmayshankar / cluster_extraction.cpp
Last active February 1, 2023 02:47
A ROS (Robot Operating System) adaptation of the Euclidean Cluster Extraction tutorial (http://www.pointclouds.org/documentation/tutorials/cluster_extraction.php#cluster-extraction)
#include <ros/ros.h>
#include <iostream>
// PCL specific includes
#include <pcl/ModelCoefficients.h>
#include <pcl/point_types.h>
#include <pcl/io/pcd_io.h>
#include <pcl/filters/extract_indices.h>
#include <pcl/filters/voxel_grid.h>
#include <pcl/features/normal_3d.h>
#include <pcl/kdtree/kdtree.h>