I am trying to upload a csv point cloud in matlab and don't really know where to start.
5 views (last 30 days)
Show older comments
Jackob Black
on 1 Feb 2022
Commented: Jackob Black
on 3 Feb 2022
I am using a velodyne vlp-16 lidar and trying to use matlab to read the point cloud. I have the data saved in a csv file. Any recommendations would help.
0 Comments
Accepted Answer
Walter Roberson
on 1 Feb 2022
xyz = readmatrix(filename);
pc = pointCloud(xyz) ;
7 Comments
Walter Roberson
on 3 Feb 2022
Edited: Walter Roberson
on 3 Feb 2022
Note that if you had a PCAP file instead of a csv file then you could use https://www.mathworks.com/help/vision/ref/velodynefilereader.html
Also there is support for reading directly from those lidar systems https://www.mathworks.com/help/supportpkg/velodynelidar/lidar-sensors-data-acquisition.html
The Lidar Toolbox requires the Computer Vision Toolbox. The PCAP file reader itself is part of the Computer Vision Toolbox
More Answers (0)
See Also
Categories
Find more on Point Cloud Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!