Converts a ROS2 bag file (.db3) to a CSV file. One CSV file per topic is created.
- ROS 2 supported platform, such as Ubuntu Linux
(1) Source your workspace with the necessary ROS2 packages (ROS2, Messages):
$ source /opt/ros/humble/setup.bash
$ source <your_workspace>/install/setup.bash
(2) Execute the following command to convert a ROS2 bag file (.db3) to a CSV file:
$ python3 rosbag2csv.py <bagfile>