I am tasked with converting pcap files to LAS files in python. I know this is a possible task because veloview uses a python shell and this command -- vv.saveLASFrames('c:/path/to/output.las', 10, 20, 0)
in this example, 10 is the starting frame, 20 is the ending frame, and 0 is the raw transformation mode.
I essentially want to know of there are any libraries that perform the similar function of transforming a pcap file to an LAS file. I don't even need it to be as advanced as extracting the point data. I already have code that does that. I just need the LAS file.
I have tried using these resources -- https://github.com/ArashJavan/veloparser
and -- https://pypi.org/project/velodyne-decoder/
and neither of them works. Any help would be greatly appreciated!