Closed xuduo18311199384 closed 3 years ago
@xuduo18311199384 the issue is because the the 'CommandLine' program can only read XYZ point clouds by default (you are trying to pass a .PCL file). If you want to read *.PCL files, modify the line below:
PointCloud3d *pointCloud = pointCloudIO.loadFromXYZ(inputFileName);
to
PointCloud3d *pointCloud = pointCloudIO.loadFromPCL(inputFileName);
Thank you very much for your answer.
It's a great honor to read your paper. But when I am running the code with the comman "./command_line ./plane_datasets/pointclouds/box.pcl ./plane_datasets/pointclouds/result.txt", there is "Detecting planes... core dump" in terminal. May I ask where I have a problem?