utils for rosbags