-
 

rqt_bag_exporter package from rqt_bag_exporter repo

rqt_bag_exporter

Package Summary

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

Repository Summary

Checkout URI https://gitlab.com/InstitutMaupertuis/rqt_bag_exporter.git
VCS Type git
VCS Version melodic
Last Updated 2021-02-22
Dev Status DEVELOPED
CI status No Continuous Integration
Released UNRELEASED
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.

Maintainers

  • Victor Lamoine

Authors

  • Romain Hernandez, Victor Lamoine - Institut Maupertuis

Institut Maupertuis logo

Overview

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.

rqt_bag_exporter

Dependencies

rosdep

Install, initialize and update rosdep.

Compiling

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

Compile

catkin_make

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

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

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

Messages

Plugins

No plugins found.

Recent questions tagged rqt_bag_exporter at Robotics Stack Exchange