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

There is no pointcloud topic in bag packet #4

Closed luobinren closed 2 years ago

luobinren commented 2 years ago

Hello, I used your code to realize the transformation from pcap to bag. However, the topic in bag packet is only /OS1_node/lidar_packets and /OS1_node /imu_packets.,There is no pointCloud message topic. How can I solve this problem? I'd like your advice. Thank you!

Krishtof-Korda commented 2 years ago

Hi, You need to playback the bag file in the Ouster Ros driver once you have converted from pcap to bag. This will generate the point cloud topic. Then you can save a new bag file.

Cheers!

On Wed, Nov 17, 2021, 18:48 luobinren @.***> wrote:

Hello, I used your code to realize the transformation from pcap to bag. However, the topic in bag packet is only /OS1_node/lidar_packets and /OS1_node /imu_packets.,There is no pointCloud message topic. How can I solve this problem? I'd like your advice. Thank you!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Krishtof-Korda/pcap-to-bag/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF53LAGTKMLNREH3V6PV54LUMRSP3ANCNFSM5IIQRNOA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

CantLooseToAMoose commented 5 months ago

Hi, You need to playback the bag file in the Ouster Ros driver once you have converted from pcap to bag. This will generate the point cloud topic. Then you can save a new bag file. Cheers! On Wed, Nov 17, 2021, 18:48 luobinren @.***> wrote: Hello, I used your code to realize the transformation from pcap to bag. However, the topic in bag packet is only /OS1_node/lidar_packets and /OS1_node /imu_packets.,There is no pointCloud message topic. How can I solve this problem? I'd like your advice. Thank you! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#4>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF53LAGTKMLNREH3V6PV54LUMRSP3ANCNFSM5IIQRNOA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Can you specify on how to excactly do this? I am quite new to ros, what launch file would i use?