small fix for conversion functions

This commit is contained in:
Ioan Sucan 2013-07-12 15:12:04 +02:00
parent b2eea44781
commit a369efcaa8

View File

@ -487,7 +487,7 @@ namespace pcl {
{
pcl::PCLPointCloud2 pcl_pc2;
pcl_conversions::toPCL(cloud, pcl_pc2);
pcl::toPCLPointCloud2(pcl_cloud, cloud);
pcl::fromPCLPointCloud2(pcl_pc2, pcl_cloud);
}
template<typename T>
@ -495,7 +495,7 @@ namespace pcl {
{
pcl::PCLPointCloud2 pcl_pc2;
pcl_conversions::moveToPCL(cloud, pcl_pc2);
pcl::toPCLPointCloud2(pcl_cloud, cloud);
pcl::fromPCLPointCloud2(pcl_pc2, pcl_cloud);
}
/** Overload pcl::createMapping **/
@ -845,4 +845,4 @@ namespace ros
} // namespace ros
#endif /* PCL_CONVERSIONS_H__ */
#endif /* PCL_CONVERSIONS_H__ */