overview
rosbag package提供了一个命令行工具以及cpp类和python的API. rosbag使用命令行能够:录制,从包重新发布,获取包的概括信息,检查包的消息类型,使用Python表达式过滤包中信息,压缩解压缩包,重新索引包
命令行工具
This is the current list of supported commands:
- record. Record a bag file with the contents of specified topics.
$ rosbag record rosout tf cmd_vel
- info. Summarize the contents of a bag file.
- play. Play back the contents of one or more bag files.
- check. Determine whether a bag is playable in the current system, or if it can be migrated.
- fix. Repair the messages in a bag file so that it can be played in the current system.
- filter. Convert a bag file using Python expressions.
- compress. Compress one or more bag files.
- decompress. Decompres