Public Member Functions | |
PointCloud::Ptr | filter (PointCloud::Ptr cloud) |
void | pointCloudCb (const PointCloud::ConstPtr &point_cloud) |
PointCloudFiltering () | |
Private Attributes | |
ros::NodeHandle | nh_ |
ros::NodeHandle | nh_private_ |
ros::Publisher | point_cloud_filtered_ |
ros::Subscriber | point_cloud_sub_ |
double | voxel_size_ |
double | x_filter_max_ |
double | x_filter_min_ |
double | y_filter_max_ |
double | y_filter_min_ |
double | z_filter_max_ |
double | z_filter_min_ |
Definition at line 14 of file point_cloud_filtering.cpp.
PointCloudFiltering::PointCloudFiltering | ( | ) | [inline] |
Class constructor
Definition at line 38 of file point_cloud_filtering.cpp.
PointCloud::Ptr PointCloudFiltering::filter | ( | PointCloud::Ptr | cloud | ) | [inline] |
Function to downsample the point cloud using Z-filtering (by range) and voxel grid.
Definition at line 79 of file point_cloud_filtering.cpp.
void PointCloudFiltering::pointCloudCb | ( | const PointCloud::ConstPtr & | point_cloud | ) | [inline] |
Callback executed when a point cloud is recieved from topic "points2".
Definition at line 64 of file point_cloud_filtering.cpp.
ros::NodeHandle PointCloudFiltering::nh_ [private] |
Definition at line 17 of file point_cloud_filtering.cpp.
ros::NodeHandle PointCloudFiltering::nh_private_ [private] |
Definition at line 18 of file point_cloud_filtering.cpp.
ros::Publisher PointCloudFiltering::point_cloud_filtered_ [private] |
Definition at line 22 of file point_cloud_filtering.cpp.
ros::Subscriber PointCloudFiltering::point_cloud_sub_ [private] |
Definition at line 19 of file point_cloud_filtering.cpp.
double PointCloudFiltering::voxel_size_ [private] |
Definition at line 31 of file point_cloud_filtering.cpp.
double PointCloudFiltering::x_filter_max_ [private] |
Definition at line 26 of file point_cloud_filtering.cpp.
double PointCloudFiltering::x_filter_min_ [private] |
Definition at line 25 of file point_cloud_filtering.cpp.
double PointCloudFiltering::y_filter_max_ [private] |
Definition at line 28 of file point_cloud_filtering.cpp.
double PointCloudFiltering::y_filter_min_ [private] |
Definition at line 27 of file point_cloud_filtering.cpp.
double PointCloudFiltering::z_filter_max_ [private] |
Definition at line 30 of file point_cloud_filtering.cpp.
double PointCloudFiltering::z_filter_min_ [private] |
Definition at line 29 of file point_cloud_filtering.cpp.