Skip to content

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

@youngblood77

Description

@youngblood77

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions