How to convert .bag to video?

asked 2018-03-15 04:50:01 -0500

Andrew9685347 gravatar image

Hi to everyone,

I have a .bag file and I am trying to convert it into a video. I tried to follow this tutorial http://wiki.ros.org/rosbag/Tutorials/... , but I did not understand very well.

Could someone help me?

I precise that I am a very newbie in using ROS and I am working with ROS kinetic.

Thanks in advance.

edit retag flag offensive close merge delete

Comments

but I did not understand very well.

What is it that you don't understand?

gvdhoorn gravatar imagegvdhoorn ( 2018-03-15 05:10:56 -0500 )edit

Thanks for the answer. Let's start from the beginning; from the launch file that I have created, how can I change the directory of the file? For example if I write $(find home)/test.bag it does not find the file. Next, it is possible to set the number of images to export?

Andrew9685347 gravatar imageAndrew9685347 ( 2018-03-15 05:40:33 -0500 )edit

In the example the $(find) command is being used to locate the image_view package folder. If you have the direct path to your file you don't need to use find, you can just write the direct path.

stevejp gravatar imagestevejp ( 2018-03-15 06:33:58 -0500 )edit