c++ - 注册 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 '生成)
我该如何解决这个错误?
解决方案
推荐阅读
- java - 在 Android Studio 中限制 EditText 数值的最佳方法是什么?
- github-actions - GitHub 模板存储库中的徽章,将引用克隆的构建状态,而不是模板存储库的构建状态
- python - 如何在没有 FRM/MSG 的情况下发送 SMS
- percentage - 交叉表中占总数的百分比
- javascript - 使用括号语法将项目插入数组不会影响长度?
- postgresql - 带有 docker compose 的 postgres 给出了 FATAL: role "root" does not exist 错误
- excel - 从数组到工作表的数据
- stripe-payments - Stripe Proration - 预付费用?
- javascript - 测试 session.cookie_httponly .htaccess
- r - 如何拆分此对象并将其元素作为单个对象插入到列表中?R