davidcaron / pclpy

Python bindings for the Point Cloud Library (PCL)
MIT License
427 stars 59 forks source link

Why can not read 'intensity' value from pcd files #99

Open remark-able-sz opened 2 years ago

remark-able-sz commented 2 years ago

233.zip I can not read 'intensity' value from pcd files using pclpy. My pcd file has x, y, z, intensity, timestamp data

import pclpy
pc = pclpy.pcl.PointCloud.PointXYZI()
pcdreader = pclpy.pcl.io.PCDReader()
pcdreader.read(file_path,pc)
Return:
Failed to find match for field 'intensity'.