From 0e73b421c92d0309ba380ff26d924b869aab24c6 Mon Sep 17 00:00:00 2001 From: Paul Bovbel Date: Wed, 8 Oct 2014 11:56:42 -0400 Subject: [PATCH] Fix header reference --- pointcloud_to_laserscan/src/PointCloudToLaserScanBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pointcloud_to_laserscan/src/PointCloudToLaserScanBase.cpp b/pointcloud_to_laserscan/src/PointCloudToLaserScanBase.cpp index 46acb4c9..721695fe 100644 --- a/pointcloud_to_laserscan/src/PointCloudToLaserScanBase.cpp +++ b/pointcloud_to_laserscan/src/PointCloudToLaserScanBase.cpp @@ -129,7 +129,7 @@ namespace pointcloud_to_laserscan pcl_ros::transformPointCloud(target_frame_, *cloud_msg, *cloud_tf, tf_); cloud_scan = cloud_tf; }else{ - ROS_WARN_STREAM_THROTTLE(1.0, "Can't transform cloud with frame " << cloud_in_header.frame_id << " into lasercan with frame " << target_frame_); + ROS_WARN_STREAM_THROTTLE(1.0, "Can't transform cloud with frame " << cloud_header.frame_id << " into lasercan with frame " << target_frame_); return; } }else{