首页 > 解决方案 > 注册 PCL + kinect

问题描述

我正在通过 Kinect v1 和 PCL 进行 3D 映射的学位工作。我正在使用以下代码对两个点云进行“注册”:https ://github.com/PointCloudLibrary/pcl/blob/master/doc/tutorials/content/sources/registration_api/example1.cpp

执行此代码时,我收到此错误:

kdtree_flann.hpp: 136: int pcl :: KdTreeFLANN :: nearestKSearch (const PointT &, int, std :: vector &, std :: vector &) const [with PointT = pcl :: PointNormal; Dist = flann :: L2_Simple ]: Affirmation point_representation _-> isValid (point) &&" The coordinates of the invalid points (NaN, Inf) given to the nearest HOT search "" have failed. Aborted (core '生成)

我该如何解决这个错误?

标签: c++kinectregistrationpoint-cloud-librarypoint-clouds

解决方案


推荐阅读