how to show rosbag file python

Solutions on MaxInterview for how to show rosbag file python by the best coders in the world

showing results for - "how to show rosbag file python"
Antonia
23 Aug 2019
1   import rosbag
2   bag = rosbag.Bag('test.bag')
3   for topic, msg, t in bag.read_messages(topics=['chatter', 'numbers']):
4       print(msg)
5   bag.close()
6
similar questions
queries leading to this page
how to show rosbag file python