Closed Crear12 closed 1 year ago
I temporarily edited line 42 in init.py to the following and it worked good so far:
try: data = dpkt.ethernet.Ethernet(buf).data.data.data except: continue
That's an oversight, indeed. I fixed this in the develop
branch with pretty much the same solution you shared. The fix should be published with the v3.0 release soon.
Thanks!
Hi Martin, Thanks for creating this decoder and Happy New Year! I'm using the velodyne_decoder to decode a 5-min-long pcap file from an Alpha Prime, which can be opened and played using Veloview from the first frame to the last frame. However, while using the velodyne_decoder to open the same file, it exits at frame 234/3000, and throws this error while trying to use the "next(The generator object read_pcap)" in the while loop:
I suspect that the Veloview has some exception handling procedure to locate the next correct frame, because it feels like there are some disturbance in the pcap file (maybe happened during ethernet transmission) that interrupt the decoding. Do you have any suggestion for this?
Thanks, Yi