Effacer les filtres
Effacer les filtres

how to convert pcap to ply

11 vues (au cours des 30 derniers jours)
Pavan Kumar B N
Pavan Kumar B N le 6 Août 2021
Modifié(e) : Bipratim Saha le 29 Déc 2022
Hello All,
I have velodyne lidar data in .pcap format. How to convert .pcap data into ply file?

Réponses (1)

Bipratim Saha
Bipratim Saha le 29 Déc 2022
Modifié(e) : Bipratim Saha le 29 Déc 2022
Hello Pavan,
As per my understanding you are trying to convert a .pcap file to a .ply file.
  • To read point cloud data from “.pcap” format, use 'velodyneFileReader' function
  • To write point cloud data as “.ply” format, use 'pcwrite' function.
As an example, you can execute following commands
veloReader = velodyneFileReader('lidarData_ConstructionRoad.pcap','HDL32E');
ptCld = readFrame(veloReader);
pcwrite(ptCld,'lidarData_ConstructionRoad.ply')
You can refer to the following documentation for more information:
Alternatively, you can try to import the pcap file in Lidar Viewer app and export to ply format.
Hope this helps :)

Catégories

En savoir plus sur Navigation and Mapping dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by