Skip to content

AtsushiSakai/rosbag_to_csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

1

Select topics to convert csv

You can select topics to save in csv files.

2

Wait seconds....

A Message "Converting..." is displayed in the terminal.

Finish convert

When the finish convert message dialog is shown,

3

CSV files are generated successfly in ~/.ros.

4

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:

5

License

MIT