ouster-lidar / ouster-ros

Official ROS drivers for Ouster sensors (OS0, OS1, OS2, OSDome)
https://ouster.com
Other
107 stars 130 forks source link

Reading .pcap files #7

Open mohamed-ebbed opened 4 years ago

mohamed-ebbed commented 4 years ago

Is there any way to read ouster .pcap files from the ros node ?

dllu commented 4 years ago

For now, you may be able to convert them to a bag containing packet messages using this unofficial tool: https://github.com/Krishtof-Korda/pcap-to-bag

msy22 commented 3 years ago

Is @dllu's answer still up-to-date? PR ouster-lidar/ouster_example#239 seems to add python tools in the python/ and ouster_pcap/ folders.

dllu commented 3 years ago

Yeah my answer is outdated. The ouster example contains pcap replay tools now. It's also pretty easy to write a python script to do that.