Azzera filtri
Azzera filtri

Velodyne File Reader error

2 visualizzazioni (ultimi 30 giorni)
Jacinda Page
Jacinda Page il 10 Mag 2022
Risposto: Sachin Lodhi il 22 Dic 2023
Hi guys
Im new to matlab and am trying to visualise my pcap files in matlab. I've attempted to use the following code
veloReader = velodyneFileReader('SMRTF.pcap','PuckLITE');
however i just keep getting this error message which only seems to appear on larger files
>> PointCloud_to_scan
Error using vision.internal.VelodyneFileReader/open
Error reading packet from PCAP file truncated dump file; tried to read 1248 captured bytes, only got 608.
Error in velodyneFileReader (line 234)
timeStruct = open(this.VelodyneFileReaderObj, ...
Error in PointCloud_to_scan (line 1)
veloReader = velodyneFileReader('SMRTF.pcap','PuckLITE');
Is there a way to fix this or should i just stop using matlab and try a more appropraite program.

Risposte (1)

Sachin Lodhi
Sachin Lodhi il 22 Dic 2023
Hi Jacinda,
I understand that you are encountering an error when trying to visualize your pcap files using the 'velodyneFileReader' function. The error message you're seeing suggests that there might be an issue with the pcap file, particularly with invalid files.
I recommend verifying the pcap file first, as the error would have occurred due to the invalidity of the input pcap file.
Additionally, you can refer to the MATLAB documentation for the 'velodyneFileReader' function and try running the examples provided there to ensure that the function works correctly with a valid pcap file provided in the example:-
I hope it helps.
Thanks and regards,
Sachin.

Tag

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by