Use the PointIndices from pcl_msgs
This commit is contained in:
committed by
Paul Bovbel
parent
018bb008d4
commit
4e64cb25e7
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user