daavoo / pyntcloud

pyntcloud is a Python library for working with 3D point clouds.
http://pyntcloud.readthedocs.io
MIT License
1.39k stars 221 forks source link

Attribute Issue in PCD file #257

Closed Dinatorehanova closed 4 years ago

Dinatorehanova commented 4 years ago

Hi, I am directly using the bag file to feed in the pcl_ros library using the command rosrun pcl_ros bag_to_pcd

As topic, I am using the /os1_cloud_node/points.

I have shared one of my bag file and a pcd file generated from this bag here.It would be very helpful if you could kindly have a look and guide me what corrections do we have to do to get all the fields in the pcd file attribute.

bag- https://drive.google.com/file/d/1a07ZoVyITabAu39hr9EVeHMpWqmCRVSd/view?usp=sharing

pcd- https://drive.google.com/file/d/1ZI9hUIjoYdnPh_crXvKg-fJcRqrTSzXJ/view?usp=sharing

The head command is giving the following output for the pcd image

When I am converting my the point cloud into the pcd file using the pcl_ros library then I am getting a constant value of 0 under the the noise,time, ring, reflectivity, range column. And also in terms of the x,y,z many points has a value of 0.

Field attribute of my pcd file

image

daavoo commented 4 years ago

Hola @Dinatorehanova ! I'm not sure but I think that the issue you are reporting it's not related to this repo but rather would be better reported in: https://github.com/ros-perception/perception_pcl/issues