why I cant use velodyneFileReader

15 ビュー (過去 30 日間)
YUSHENG WANG
YUSHENG WANG 2020 年 3 月 29 日
回答済み: Hitesh 2025 年 3 月 7 日
hello here,
I am new to this velodyne toolbox, and I am try using velodyneFileReader to read my recorded PCAP file (around 9GB).
the code is as follows
veloReader = velodyneFileReader('velodyne.pcap','VLP16')
but it gives me
vision.internal.VelodyneFileReader/open
Error reading packet from PCAP file bogus savefile header.
velodyneFileReader (line 269)
tmpReturnStruct = open(this.VelodyneFileReaderObj, this.FileName,...
rosbagtest (line 4)
veloReader = velodyneFileReader('velodyne.pcap','VLP16')
I have tried this command with my other PCAP files (up to 1GB), they were all fine, so I am wondering if there is a size limit with this command or some other issues, thanks.
  1 件のコメント
John Hateley
John Hateley 2023 年 5 月 11 日
Did you get it to work? I am having the same problem\

サインインしてコメントする。

回答 (1 件)

Hitesh
Hitesh 2025 年 3 月 7 日
Hi YUSHENG,
The error you are encountering indicated that there might be an issue with the PCAP file itself rather than a size limit in the "velodyneFileReader" function. Kindly follow the troubleshooting steps that will resolve the issue:
  • Verify the PCAP File: Ensure that the PCAP file is not corrupted. You might need to use tools like Wireshark,Veloview (https://www.paraview.org/veloview/) to open the file and check if it can be read correctly.
  • Try Splitting the File: If the file size is a concern, consider splitting the large PCAP file into smaller chunks and see if "velodyneFileReader" is able to read them. You need to use tools like editcap (part of Wireshark) to split the file.

カテゴリ

Help Center および File ExchangeLabeling, Segmentation, and Detection についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by