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

Cannot create a KDTree with an empty input cloud! #6

Open
luhan-wang opened this issue Feb 8, 2020 · 3 comments
Open

Cannot create a KDTree with an empty input cloud! #6

luhan-wang opened this issue Feb 8, 2020 · 3 comments

Comments

@luhan-wang
Copy link

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!

@ZixinMan
Copy link

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

@CBZ199671
Copy link

the same problem,is there any solution,THX

@lonelybuffer
Copy link

Has anyone solved the problem? I have the same problem

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

4 participants