Visualiation from .pcd files - no points to read
Hello,
I want to make point of cloud from multiple files with .pcd extensions. I have installed ROS Kinetic and done steps accordingly to this tutorial. I am getting this error : [pcl::PCDReader::readHeader] No points to read
Here I have few questions:
- Is range image as useful as points of cloud? Or should I use other method in order to visualize it.
- How can I merge multiple scans from the same object (production plant from inside) to achieve final PoC.
- I will appreciate if someone could give me some hints/links/other materials which might be helpful and give me knowledge to handle this project.
Edit: Firstly, thanks for explaining 2 point.
Regarding proper file name, I have changed this part in code. The file is found but error as mentioned before occurs. I am doing this after I had made my project exacutable
About project - I have to visualize in 3D environment production plant. I have .bag file with messages and about 40 .pcd files with scans taken from different spots. What I've been trying to do is to visualize only one of this scan. I've got stuck on this error.
Have you opened these pcd files with another viewer to confirm they are valid pcd files and they contain points? What are the file sizes? The warning message is saying the file is empty, the first thing to check is that the pcd file isn't actually empty.
Yes, each files has about 1.4 MB and structure looks like: *2097 0 R/XYZ 27 413 null]>> endobj 11772 0 obj <</d[2097>
For me it looks fine.
I don't recognise the file structure you show at all. An ascii pcd file should be structured as shown here. If it doesn't match this it's either a binary pcd or a different file format.