赞
踩
import rosbag bag = rosbag.Bag('2023-05-18-10-07-50_0.bag') with open('odom.txt', 'w') as f: for topic, msg, t in bag