-
Notifications
You must be signed in to change notification settings - Fork 13
Description
‘bool computeTableOrientationByPCL(float, int, float, const std::vector<cv::Point3_ >&, cv::Vec4f&, const PinholeCamera*, std::vector<cv::Point_ >*, float, cv::Point3f)’中:
/home/he/catkin_ws/src/ork_ws/transparent_objects/src/tableSegmentation.cpp:110:78: error:invalid initialization of reference of type ‘const ConstPtr&’ {aka ‘const std::shared_ptr&’} from expression of type ‘boost::detail::sp_if_not_arraypcl::PointIndices::type’ {aka ‘boost::shared_ptrpcl::PointIndices’}
110 | Cloud(projectedInliers, boost::make_sharedpcl::PointIndices(clusterIndices[maxClusterIndex]), table);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/he/catkin_ws/src/ork_ws/transparent_objects/src/tableSegmentation.cpp:16:
/home/he/catkin_ws/src/ork_ws/transparent_objects/include/edges_pose_refiner/pclProcessing.hpp:33:104: 附注:in passing argument 2 of ‘void extractPointCloud(const pcl::PointCloudpcl::PointXYZ&, const ConstPtr&, pcl::PointCloudpcl::PointXYZ&)’
33 | udpcl::PointXYZ &cloud, const pcl::PointIndices::ConstPtr &inliers, pcl::PointCloudpcl::PointXYZ &extractedCloud);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
src/CMakeFiles/edges_pose_refiner.dir/build.make:398: recipe for target 'src/CMakeFiles/edges_pose_refiner.dir/tableSegmentation.cpp.o' failed
make[2]: *** [src/CMakeFiles/edges_pose_refiner.dir/tableSegmentation.cpp.o] Error 1
CMakeFiles/Makefile2:1037: recipe for target 'src/CMakeFiles/edges_pose_refiner.dir/all' failed