Mini-3D-Scanner icon indicating copy to clipboard operation
Mini-3D-Scanner copied to clipboard

Cannot create a KDTree with an empty input cloud!

Open luhan-wang opened this issue 4 years ago • 3 comments

Hi friends, when i tried roslaunch scanner pipeline.launch It reported the error: [pcl::PCDReader::readHeader] Could not find file '/home/wlh/catkin_ws/devel/share/scanner/data/result/registerResult.pcd'. Then i looked up the issue #2 and corrected all files to my path and roslaunch again but the error occured again.And I guess the node pcl_processing can not run normally so i try rosrun scanner pcl_processing , but Kinect V2 turned of immediately after startup, it showed :

/home/wlh/catkin_ws/devel/share/scanner/data/0.pcd
[ INFO] [1581174858.292009055]: Processing #0 PointCloud...
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
terminate called after throwing an instance of 'pcl::IOException'
  what():  : [pcl::PCDWriter::writeBinary] Input point cloud has no data!
Aborted (core dumped)

I checked the folder, there were no pcd files, I think point cloud data can not saved through ros topic '/kinect2/qhd/points' Could you please solve the problem? Thanks a lot!

luhan-wang avatar Feb 08 '20 15:02 luhan-wang

I also met this problem, is there any solution? THX

ZixinMan avatar Mar 26 '20 09:03 ZixinMan

the same problem,is there any solution,THX

CBZ199671 avatar Aug 04 '21 13:08 CBZ199671

Has anyone solved the problem? I have the same problem

lonelybuffer avatar Jul 07 '22 06:07 lonelybuffer