rqt_bag_exporter package from rqt_bag_exporter repo


Package Summary

Tags No category tags.
Version 0.1.0
License BSD-3-Clause-Attribution
Build type CATKIN

Repository Summary

Checkout URI https://gitlab.com/InstitutMaupertuis/rqt_bag_exporter.git
VCS Type git
VCS Version melodic
Last Updated 2021-02-22
CI status No Continuous Integration
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Export data (images, numerics) from a bag file to create CSV and video files

Additional Links

No additional links.


  • Victor Lamoine


  • Romain Hernandez, Victor Lamoine - Institut Maupertuis

Institut Maupertuis logo


This package contains a GUI to help users extract data from bag files.

Main features are:

  • Export topics to CSV files, by default each topic goes into one CSV file but it is also possible to export one merged CSV file
  • Export H264 encoded videos from sensor_msgs/Image and sensor_msgs/CompressedImage topics (8 bits images with 1 or 3 channels only).
  • Progress bar to display the progress of the export
  • Ability to export only a portion of a bag file (eg: from second 25 to second 60)
  • Ability to change the video frame rate when exporting the video
  • Ability to cancel exporting video/CSV

The software is user oriented so it is very easy to use and features a desktop launcher when installed.




Install, initialize and update rosdep.


Create a catkin workspace and clone the project:

mkdir -p catkin_workspace/src
cd catkin_workspace/src
git clone https://gitlab.com/InstitutMaupertuis/rqt_bag_exporter.git
cd ..

Resolve ROS dependencies

rosdep install --from-paths src --ignore-src --rosdistro $ROS_DISTRO -y



Using the Qt GUI user application

Source the catkin workspace in which you compiled the package, then launch:

roslaunch rqt_bag_exporter gui.launch

There is desktop a file installed when installing the project: you can open the software like any other application using the application menu.

Desktop launcher

:information_source: If you delete the installed files from your workspace the desktop launcher will not be deleted. It is located in $HOME/.local/share/applications; you need to remove this file manually.

Multi bag exporter

roslaunch rqt_bag_exporter multi_bag_exporter.launch dir:="/home/victor/bags" topic_name_include:="/topic_test" merged_csv:=false

A full documentation of arguments can be found in the launch file launch/multi_bag_exporter.launch


Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Launch files

  • launch/multi_bag_exporter.launch
      • dir [default: ] — Directory containing the bag files to be exported
      • files_list [default: ] — File containing the list of bag files paths to be exported
      • topic_name_exclude [default: ] — Exclude regex for topics names (must match the whole string)
      • topic_name_include [default: .*] — Include regex for topics names (must match the whole string)
      • topic_type_exclude [default: ] — Exclude regex for topics types (must match the whole string)
      • topic_type_include [default: .*] — Include regex for topics types (must match the whole string)
      • merged_csv [default: true] — If true all CSV writable topics are written into one file
      • create_subdir [default: true] — If true creates a subdirectory for the exported files
      • export_video [default: false] — If true exports the video
      • topics_duration [default: 0] — Defines the export duration for all topics except videos
      • videos_duration [default: 0] — Defines the export duration for video topics
  • launch/gui.launch



No plugins found.

Recent questions tagged rqt_bag_exporter at Robotics Stack Exchange