Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 1010 Bytes

README.md

File metadata and controls

23 lines (21 loc) · 1010 Bytes

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