Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to show rosbag file python

   import rosbag
   bag = rosbag.Bag('test.bag')
   for topic, msg, t in bag.read_messages(topics=['chatter', 'numbers']):
       print(msg)
   bag.close()
Source by wiki.ros.org #
 
PREVIOUS NEXT
Tagged: #show #rosbag #file #python
ADD COMMENT
Topic
Name
7+8 =