Questions addressing the rosbag-package of ROS (Robot Operating System). Use it together with the ros-tag.
Being part of the ros (Robot Operating System), the rosbag
package is a set of tools for recording from and playing back to ROS topics. It is intended to be high performance and avoids deserialization and reserialization of the messages.
The rosbag package provides a command-line tool for working with bags as well as code APIs for reading/writing bags in C++ and Python.