Unable to export images from bag file

asked 2022-03-28 15:09:52 -0500

updated 2022-03-29 02:53:23 -0500

ljaniec gravatar image

I have followed the tutorial on how to export images from a bag file.. My launch file is as follows:

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

after running it, the following command line output is shown:

$ roslaunch export.launch
... logging to /home/carla/.ros/log/99f21e24-aec1-11ec-b525-00505688009d/roslaunch-carla-002-15740.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://carla-002:33403/

SUMMARY
========

PARAMETERS
 * /rosdistro: melodic
 * /rosversion: 1.14.12

NODES
  /
    extract (image_view/extract_images)
    rosbag (rosbag/play)

ROS_MASTER_URI=http://localhost:11311

process[rosbag-1]: started with pid [15759]
process[extract-2]: started with pid [15760]
[ INFO] [1648496217.000623342]: Initialized sec per frame to 0.100000
================================================================================REQUIRED process [rosbag-1] has died!
process has finished cleanly
log file: /home/carla/.ros/log/99f21e24-aec1-11ec-b525-00505688009d/rosbag-1*.log
Initiating shutdown!
================================================================================
[extract-2] killing on exit
[rosbag-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
edit retag flag offensive close merge delete