Refactors to use pcl-1.7

This commit is contained in:
William Woodall
2013-07-09 18:56:23 -07:00
committed by Paul Bovbel
parent 4e64cb25e7
commit a3840127f8
21 changed files with 147 additions and 76 deletions
+6 -1
View File
@@ -37,11 +37,16 @@
// ROS core
#include <ros/ros.h>
#include <sensor_msgs/PointCloud2.h>
// PCL includes
#include <pcl/io/io.h>
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl_conversions/pcl_conversions.h>
using namespace std;
/**
@@ -67,7 +72,7 @@ class PointCloudToPCD
////////////////////////////////////////////////////////////////////////////////
// Callback
void
cloud_cb (const sensor_msgs::PointCloud2ConstPtr& cloud)
cloud_cb (const pcl::PCLPointCloud2::ConstPtr& cloud)
{
if ((cloud->width * cloud->height) == 0)
return;