/ros-bag-extractor

The "ros-bag-extractor" is a tool designed for extracting data from ROS bag files, converting raw measurements into an accessible and readable format for easy analysis.

Primary LanguagePythonMIT LicenseMIT

RosBagExtractor

Installation

Start by cloning the repo:

git clone git@github.com:AleRiccardi/ros-bag-extractor.git

Run the installation script and follow the instructions:

cd ros-bag-extractor/
./configs/scripts/sh/install.sh

Usage

Use the following command to extract poses from a ROS bag file:

python src/rbe/main.py /path/to/the/file.bag --pose "/topic/name"

Here you can find more information on the type of data you can extract:

Usage: main.py [OPTIONS] PATH_BAGS

Options:
  --velodyne TEXT    Topic name of the point cloud messages
  --ouster TEXT      Topic name of the point cloud messages
  --hokuyo TEXT      Topic name of the point cloud messages
  --imu TEXT         Topic name of the IMU messages
  --coordinate TEXT  Topic name of the coordinate messages
  --image TEXT       Topic name of the image messages
  --nav TEXT         Topic name of the sbg ekf navigation system
  --quat TEXT        Topic name of the sbg ekf quaternion system
  --pose TEXT        Topic name of the poses
  --help             Show this message and exit.