rosbag_to_csv
A GUI tool to convert topics from a single rosbag file or multiple rosbag files at once to csv files
Supported versions
master
branch: Python3 (ROS Noetic, Python 3.8 or higher.)python2
branch: Python2 (ROS Melodic)
Install Dependencies and Build
Python3
clone this repository
$ cd ~/catkin_ws/src
$ git clone https://github.com/AtsushiSakai/rosbag_to_csv.git
$ cd ~/catkin_ws && rosdep install -r --ignore-src --from-paths src
$ catkin_make
Python2
clone this repository with -b python2
option
$ cd ~/catkin_ws/src
$ git clone -b python2 https://github.com/AtsushiSakai/rosbag_to_csv.git
$ cd ~/catkin_ws && rosdep install -r --ignore-src --from-paths src
$ catkin_make
How to use
Start the node
$ rosrun rosbag_to_csv rosbag_to_csv.py
Select a single bag file or multiple bag files with the GUI
Select topics to convert csv
You can select topics to save in csv files.
Wait seconds....
A Message "Converting..." is displayed in the terminal.
Finish convert
When the finish convert message dialog is shown,
CSV files are generated successfly in ~/.ros
.
The CSV file name is same as (the bag file name)_(each selected topic name).csv.
If You open the csv file with office software, you can see:
License
MIT