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

Revision history [back]

click to hide/show revision 1
initial version

With a little (actually a lot) of help from Morgan it was determined that the files were being saved to a location that was read only. They were re-directed to be saved in my current directory.

The new launch file looks like this. It is setup to save pictures from two down facing cameras saved into one bag file.

<launch>

<node pkg="rosbag" type="rosbag" name="rosbag" args="play -d 2 /media/Ubuntu/RosBagFiles/TestFolder/2011-02-08-22-11-49.bag"/>

<node name="extract" pkg="image_view" type="extract_images" respawn="false" output="screen" cwd="node">

<remap from="image" to="/down_camera/camera/image_raw"/>
<param name="filename_format" value="/media/Ubuntu/RosBagFiles/TestFolder/frame%06i.jpg"/>

</node> <node name="extract2" pkg="image_view" type="extract_images" respawn="false" output="screen" cwd="node">

<remap from="image" to="/elite_camera/camera/image_raw"/>
<param name="filename_format" value="/media/Ubuntu/RosBagFiles/TestFolder/elite_frame%06i.jpg"/>

</node>

</launch>

With a little (actually a lot) of help from Morgan it was determined that the files were being saved to a location that was read only. They were re-directed to be saved in my current directory.

The new launch file looks like this. It is setup to save pictures from two down facing cameras saved into one bag file.

<launch>

<launch>
  

<node pkg="rosbag" type="rosbag" name="rosbag" args="play -d 2 /media/Ubuntu/RosBagFiles/TestFolder/2011-02-08-22-11-49.bag"/>

/media/Ubuntu/RosBagFiles/TestFolder/2011-02-08-22-11-49.bag"/>

<node name="extract" pkg="image_view" type="extract_images" respawn="false" output="screen" cwd="node">

cwd="node">
 <remap from="image" to="/down_camera/camera/image_raw"/>
 <param name="filename_format" value="/media/Ubuntu/RosBagFiles/TestFolder/frame%06i.jpg"/>

</node> <node name="extract2" pkg="image_view" type="extract_images" respawn="false" output="screen" cwd="node">

cwd="node">
 <remap from="image" to="/elite_camera/camera/image_raw"/>
 <param name="filename_format" value="/media/Ubuntu/RosBagFiles/TestFolder/elite_frame%06i.jpg"/>
  </node>

</launch>

</node>

</launch>