Changes in preparation for PCL 1.11 (#273) (#279)

* Deriving typedef from pcl type

* Explicit boost shared_ptr for function parameters

* Use boost::shared_ptr instead of PCL::Ptr

* Implementing boost-std compatibility

* Using the compatibility layer
This commit is contained in:
Kunal Tyagi
2020-05-12 10:50:15 +09:00
committed by GitHub
parent 36eb607be7
commit 2b770b15ed
28 changed files with 225 additions and 103 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ class PointCloudToPCD
////////////////////////////////////////////////////////////////////////////////
// Callback
void
cloud_cb (const pcl::PCLPointCloud2::ConstPtr& cloud)
cloud_cb (const boost::shared_ptr<const pcl::PCLPointCloud2>& cloud)
{
if ((cloud->width * cloud->height) == 0)
return;