Usage If you want to extract the topic /svo/pose from myrosbag.bag, type: rosrun rosrun bag_to_pose bag_to_pose.py myrosbag.bag /svo/pose