How to load a PCD file converted using rosrun onto MATLAB?

6 次查看(过去 30 天)
I have a ROS Bag file that I have converted to PCD using rosrun bag_to_pcd. It generates a .PCD v0.7 - Point Cloud Data file format VERSION 0.7. However, If I try to load it onto the LiDAR Viewer using MATLAB, I get the following error:
Error occurred while reading file header. See the pcread reference page in documentation for correct header format.
If I attempt to directly load the ROS Bag file into MATLAB and save the generated pointcloud from LiDAR Viewer, the generated PCD does not include the other fields that are generated if I do a rosrun bag_to_pcd directly.
x y z _ intensity t reflectivity ring _ noise _ range _
Thank you for the help

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Specialized Messages 的更多信息

标签

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by