why I cant use velodyneFileReader
15 views (last 30 days)
Show older comments
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 Comment
Answers (1)
Hitesh
on 7 Mar 2025
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.
0 Comments
See Also
Categories
Find more on Labeling, Segmentation, and Detection 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!