How to convert .pcap to .las file
Hello, I am a complete freshman on Linux, ROS and velodyne so, Please help me with this. I want to process the velodyne data to create an point cloud. As velodyne give output in .pcap file want to convert it into .las file. So that i can use it for point cloud generation. I have a raw .pcap file that i want to convert..
I tried with converting pcap to txt with tshark it convrt successfully. Then tried to convert txt to las using txt2las command but it give me error.
Error:
WARNING: cannot parse ' Urgent pointer: 0
' with 'xyz'. skipping ...
WARNING: cannot parse ' [SEQ/ACK analysis]
' with 'xyz'. skipping ...
WARNING: cannot parse ' [This is an ACK to the segment in frame: 361]
' with 'xyz'. skipping ...
WARNING: cannot parse ' [The RTT to ACK the segment was: 48.340006000 seconds]
' with 'xyz'. skipping ...
WARNING: cannot parse ' [Bytes in flight: 5]
' with 'xyz'. skipping ...
WARNING: cannot parse 'MSN Messenger Service
' with 'xyz'. skipping ...
WARNING: cannot parse ' OUT\r\n
' with 'xyz'. skipping ...
WARNING: cannot parse '
' with 'xyz'. skipping ...
ERROR: could not parse any lines with 'xyz'
Can any one Plz Help me with this ???? Thank you :)
I have no idea what you are trying to accomplish with this.
velodyne gives the output in pcap format. But for point cloud software like ArcGIS does not support pcap file format.So i want to convert this pcap file captured from velodyne and convert it into LAS. so that i can process it and get point cloud ..
Hi Nikka,
I am looking for similar solution as you are. Did you got any solution around it? If yes, can you please share the idea and further information.
warm regards, Kranti
You have to convert your pcap data to .plc format then using cloud compare you can convert it into las format
Hi Nikka,
Can you guide me how you are converting pcap to .plc. Do you have any sample program?
Regards, Kranti
Please go through this https://github.com/erik-nelson/blam