ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

image_view seems to run, but the images are nowhere to be found [closed]

asked 2011-09-03 11:05:15 -0500

gavinmachine gravatar image

updated 2011-09-03 15:22:12 -0500

kwc gravatar image

I am attempting to retrieve image files from a rosbag (following this tutorial:

I roscd into the image_view package, but I have to sudo every command because it won't let me do anything without it. I moved a rosbag named test.bag into the image_view package directory. I included this launch file (with my own topic name replacing the default one) and named it export.launch.

  <node pkg="rosbag" type="rosbag" name="rosbag" args="play -d 2 $(find image_view)/test.bag"/>
  <node name="extract" pkg="image_view" type="extract_images" respawn="false" output="screen" cwd="node">
    <remap from="image" to="/camera/image_raw"/>

Then, I do roslaunch export.launch. Everything seems to work perfectly. At the end of the output I get this:

(previous output omitted for space)
[rosbag-1] process has finished cleanly.
log file: /home/user/.ros/log/512670bc-d67a-11e0-b5f3-080027433aa6/rosbag-1*.log

I then attempt to retrieve the .jpg files and they are nowhere to be found! They are not in the image_view package directory, or anywhere that I can find.

Does anyone know where they are? Or what I'm doing wrong? Thanks a lot!

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2012-02-29 08:13:19


Is this on Diamondback or Electric?
Eric Perko gravatar image Eric Perko  ( 2011-09-08 03:41:57 -0500 )edit
gavinmachine gravatar image gavinmachine  ( 2011-09-08 18:15:42 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-09-03 14:24:31 -0500

Eric Perko gravatar image

When run by roslaunch, processes start in the .ros folder. Check for files inside ~/.ros (or a subdirectory thereof).

edit flag offensive delete link more


I looked in ~/.ros, the only sub-directories are "log" and "rosmake." Inside those directories are a whole bunch of directories name like this: "6d8a78c8-c902-11e0-aaab-080027433aa6." Otherwise, there a few of cache files, etc. I did a search, no .jpgs. Could I be doing something wrong? Thanks!
gavinmachine gravatar image gavinmachine  ( 2011-09-03 14:40:18 -0500 )edit

I have the same problem with you. Have you solved the problem yet?

pipipan gravatar image pipipan  ( 2019-01-22 03:51:19 -0500 )edit

Question Tools

1 follower


Asked: 2011-09-03 11:05:15 -0500

Seen: 1,188 times

Last updated: Sep 03 '11