finds.dev← search

// the find

AtsushiSakai/rosbag_to_csv

★ 350 · Python · updated Feb 2023

Converter from ros bag to csv

A ROS node with a Tkinter/PyQt GUI that reads rosbag files and exports selected topics to CSV. Aimed at robotics developers who want to get sensor or odometry data into pandas, Excel, or any analysis tool without writing their own bag-parsing code.

Batch processing — you can load multiple bag files at once and convert them all in one pass, which matters when you have a long test run split across bags. Topic selection in the GUI means you don't end up with 80 CSVs when you only care about 3 topics. The naming convention (bagname_topicname.csv) is predictable enough to script over. MIT license, no strings attached.

Last commit was February 2023 and it still targets ROS Noetic — anyone on ROS 2 (Humble, Iron, Jazzy) gets nothing here, since rosbag2 uses a completely different format and API. The entire project is two files; there's no handling for nested message types (e.g. geometry_msgs/PoseStamped), so you'll likely get serialized object representations rather than flat columns for anything beyond scalar fields. Output goes to ~/.ros with no way to configure the destination without editing the script. No tests at all.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →