Use the PointIndices from pcl_msgs

This commit is contained in:
William Woodall
2013-07-08 17:38:48 -07:00
committed by Paul Bovbel
parent 018bb008d4
commit 4e64cb25e7
4 changed files with 24 additions and 15 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
// PCL includes
#include <pcl/features/feature.h>
#include <pcl/PointIndices.h>
#include <pcl_msgs/PointIndices.h>
#include "pcl_ros/pcl_nodelet.h"
#include <message_filters/pass_through.h>
@@ -93,7 +93,7 @@ namespace pcl_ros
input_callback (const PointCloudConstPtr &input)
{
PointIndices cloud;
cloud.header.stamp = input->header.stamp;
cloud.header.stamp = pcl_conversions::fromPCL(input->header).stamp;
nf_.add (boost::make_shared<PointIndices> (cloud));
}