Velodyne File Reader error
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
0 comentarios
Respuestas (1)
Sachin Lodhi
el 22 de Dic. de 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.
0 comentarios
Ver también
Categorías
Más información sobre Point Cloud Processing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!