Ask Your Question

How to use bag_tools

asked 2017-03-15 14:09:26 -0600

atoz gravatar image

How do I run the bag_tools programs? I'm specifically looking to run the program to convert bag files to videos but my installation is unable to find it even though it is in the /opt/ros/indigo/lib/python2.7/dist-packages/bag_tools/ folder.

I'm using the command rosrun bag_tools and I get the following error:

[rosrun] Couldn't find executable named below /opt/ros/indigo/share/bag_tools

Is there some kind of a problem with my ros configuration? I'm using ros indigo on ubuntu 14.04


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-04-21 06:04:26 -0600

This is an old question, but I ran into the same problem, so here's my solution: The package is broken (at least for make_video) as it lacks the executables that need to be compiled from c++. So you need to build and install it from source, which worked out without problems.

edit flag offensive delete link more


@felix How do you install from source , exactly? Is it an addition/variation of this command-. rosdep install --from-paths src --ignore-src --rosdistro melodic ?

Thank you!

ambareesh gravatar image ambareesh  ( 2019-08-21 14:43:36 -0600 )edit

See the wiki tutorial for building. When it is a cmake package (there is a CMakeLists.txt file), my standard approach is to source the workspace it is in, go to the package directory and execute mkdir build; cd build; cmake ..; make -j4. That will configure your build and compile it in the "build" folder. To install, you can use make install. The file build/install_manifest.txt will tell you which files were installed where.

Felix Endres gravatar image Felix Endres  ( 2019-08-29 06:09:10 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-03-15 14:09:26 -0600

Seen: 1,210 times

Last updated: Apr 21 '17