Krishtof-Korda / pcap-to-bag

Tool to convert ouster lidar sensor pcap files into rosbag files for use in ouster_example/ouster_ros
49 stars 12 forks source link

Extract Data #3

Closed LihaoQiu closed 2 years ago

LihaoQiu commented 3 years ago

Hi! First of all, thank you for sharing this github. I found out that in the converted PCD file, there are only two topics: os1_node/imu_packets and os1_node.lidar_packets. I used to record data with ouster-example directly using os_cloud_node/points and I don't know how to extract data now. Could you tell me how to extract point data now? Thank you very much!

Krishtof-Korda commented 2 years ago

Hi!

Once you have the bag file with the os1_node/imu_packets and os1_node/lidar_packets, you need to rosbag play the bag in the ouster_ros node and rosbag record os_cloud_node/points. This will generate a bag with the points topic.