small fix for conversion functions
This commit is contained in:
parent
b2eea44781
commit
a369efcaa8
@ -487,7 +487,7 @@ namespace pcl {
|
|||||||
{
|
{
|
||||||
pcl::PCLPointCloud2 pcl_pc2;
|
pcl::PCLPointCloud2 pcl_pc2;
|
||||||
pcl_conversions::toPCL(cloud, pcl_pc2);
|
pcl_conversions::toPCL(cloud, pcl_pc2);
|
||||||
pcl::toPCLPointCloud2(pcl_cloud, cloud);
|
pcl::fromPCLPointCloud2(pcl_pc2, pcl_cloud);
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
@ -495,7 +495,7 @@ namespace pcl {
|
|||||||
{
|
{
|
||||||
pcl::PCLPointCloud2 pcl_pc2;
|
pcl::PCLPointCloud2 pcl_pc2;
|
||||||
pcl_conversions::moveToPCL(cloud, pcl_pc2);
|
pcl_conversions::moveToPCL(cloud, pcl_pc2);
|
||||||
pcl::toPCLPointCloud2(pcl_cloud, cloud);
|
pcl::fromPCLPointCloud2(pcl_pc2, pcl_cloud);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Overload pcl::createMapping **/
|
/** Overload pcl::createMapping **/
|
||||||
@ -845,4 +845,4 @@ namespace ros
|
|||||||
} // namespace ros
|
} // namespace ros
|
||||||
|
|
||||||
|
|
||||||
#endif /* PCL_CONVERSIONS_H__ */
|
#endif /* PCL_CONVERSIONS_H__ */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user