Robotics StackExchange | Archived questions

How to get the topics in a bag from Rosbag C++ API

Hi all,

I'm using C++ Rosbag API to read offline messages from a bag.

I have some some bags that DO have tf_static topic and some that DO NOT have it.

Is there a function to get the topics recorded in the bag? (something similar to the output you get with the command rosbag info)

Thanks

Asked by schizzz8 on 2020-02-17 03:12:05 UTC

Comments

I believe this is a duplicate of #q39345.

Asked by gvdhoorn on 2020-02-17 04:24:27 UTC

Answers