rqt_bag_exporter package from rqt_bag_exporter reporqt_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
Additional Links
Maintainers
- Victor Lamoine
Authors
- Romain Hernandez, Victor Lamoine - Institut Maupertuis
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
andsensor_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.
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.
: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
Package Dependencies
Deps | Name |
---|---|
catkin | |
actionlib | |
actionlib_msgs | |
cv_bridge | |
genmsg | |
image_geometry | |
message_generation | |
message_runtime | |
rosbag | |
roscpp | |
roslib | |
std_msgs | |
std_srvs |
System Dependencies
Name |
---|
qtbase5-dev |
Dependant Packages
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