Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have a error and need your help #5

Open
aoligeihahah opened this issue May 12, 2021 · 0 comments
Open

I have a error and need your help #5

aoligeihahah opened this issue May 12, 2021 · 0 comments

Comments

@aoligeihahah
Copy link

‘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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant