simple python script to read bag file recorded from rosbag and extract information in portable format