【ros】录制部分topic的rosbag

  • 就一句话,还是要 mark 一下:
rosbag record -O after_sync /after_process_gps /after_process_pointcloud

中间那个 -O 是大写英文字母 O

  • 播放特定的 topic
rosbag play after_sync --topic /after_process_gps /after_process_pointcloud

播放的时候,可以按空格暂停

  • 按时间过滤
rosbag filter 地下车库.bag input.bag "t.to_sec() >= 1606021752 and t.to_sec() <= 1606021662"
  • 过滤 topic

rosbag_filter_gui

rosrun rosbag_filter_gui rosbag_filter_gui.py

猜你喜欢

转载自blog.csdn.net/qq_35632833/article/details/111147757