ros-pkg: updated to rtabmap trunk

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/ros-pkg@1922 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2014-10-24 16:59:55 +00:00
parent 1ef71dd5af
commit bef004eaa3
5 changed files with 58 additions and 24 deletions
+1 -1
View File
@@ -328,7 +328,7 @@ Transform OdometryROS::processData(SensorData & data, const std_msgs::Header & h
if(cloud->size())
{
pcl::PointCloud<pcl::PointXYZ>::Ptr cloudTransformed;
cloudTransformed = util3d::transformPointCloud(cloud, pose);
cloudTransformed = util3d::transformPointCloud<pcl::PointXYZ>(cloud, pose);
sensor_msgs::PointCloud2 cloudMsg;
pcl::toROSMsg(*cloudTransformed, cloudMsg);
cloudMsg.header.stamp = header.stamp; // use corresponding time stamp to image