Skip to content

Subscribe to image topics of ros and save them as images (format PNG) and convert imu data into .csv file

License

Notifications You must be signed in to change notification settings

TAO270/rosbag2image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rosbag2image

This ros package subscribes to image topics of ros and save them as images (format PNG), and converts imu data into .csv file, which results in the same data format as the EuRoC MAV dataset.

Dependency

  • OpenCV (VERSION > 3.0)
  • Cmake (VERSION > 2.8)

If ROS (indigo) is being used, it is recommended to manually install cv_bridge above OpenCV 3.0. URL

    git clone https://github.com/ros-perception/vision_opencv.git
    cd vision_opencv & cd cv_bridge
    mkdir build & cd build
    cmake ..
    make 
    sudo make install

Compile

cd rosbag2image
mkdir build & cd build
cmake ..
make 
source devel/setup.bash
roslaunch rosbag2image test.launch
Note that the node should run with three parameters: save path, topic name and isColor (true or false).

rosbag play your own ros bag

About

Subscribe to image topics of ros and save them as images (format PNG) and convert imu data into .csv file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published