Ask Your Question
0

How to convert .pcap to .las file

asked 2016-10-06 00:46:02 -0500

Nikka gravatar image

updated 2016-10-06 02:10:06 -0500

gvdhoorn gravatar image

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 :)

edit retag flag offensive close merge delete

Comments

I have no idea what you are trying to accomplish with this.

joq gravatar image joq  ( 2016-10-09 12:55:01 -0500 )edit

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 ..

Nikka gravatar image Nikka  ( 2016-10-15 07:01:44 -0500 )edit

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

Kranti gravatar image Kranti  ( 2018-11-05 00:18:57 -0500 )edit

You have to convert your pcap data to .plc format then using cloud compare you can convert it into las format

Nikka gravatar image Nikka  ( 2018-11-19 13:17:26 -0500 )edit

Hi Nikka,

Can you guide me how you are converting pcap to .plc. Do you have any sample program?

Regards, Kranti

Kranti gravatar image Kranti  ( 2018-11-23 03:58:38 -0500 )edit

Please go through this https://github.com/erik-nelson/blam

Nikka gravatar image Nikka  ( 2018-11-29 14:24:42 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-10-15 09:28:02 -0500

joq gravatar image

This is not really a ROS question. If you just want to convert the PCAP to use other tools, ROS is neither required nor recommended.

If you do want to view the point cloud using ROS tools, try rviz, like the example in this tutorial:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2016-10-06 00:46:02 -0500

Seen: 3,087 times

Last updated: Oct 15 '16