필터 지우기
필터 지우기

Velodyne File Reader error

조회 수: 2 (최근 30일)
Jacinda Page
Jacinda Page 2022년 5월 10일
답변: Sachin Lodhi 2023년 12월 22일
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.

답변 (1개)

Sachin Lodhi
Sachin Lodhi 2023년 12월 22일
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.

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by