From 3bc59ab51ba3e397445ab1adbcfcbb8c324fb0a9 Mon Sep 17 00:00:00 2001 From: William Woodall Date: Tue, 23 Jul 2013 13:34:33 -0700 Subject: [PATCH] Fix a serialization error with point_cloud headers --- pcl_ros/include/pcl_ros/point_cloud.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcl_ros/include/pcl_ros/point_cloud.h b/pcl_ros/include/pcl_ros/point_cloud.h index 03c925de..167537ee 100644 --- a/pcl_ros/include/pcl_ros/point_cloud.h +++ b/pcl_ros/include/pcl_ros/point_cloud.h @@ -213,8 +213,8 @@ namespace ros inline static void read(Stream& stream, pcl::PointCloud& m) { std_msgs::Header header; - pcl_conversions::fromPCL(m.header, header); stream.next(header); + pcl_conversions::toPCL(header, m.header); stream.next(m.height); stream.next(m.width);