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

error opening file: play

asked 2014-03-16 06:51:40 -0500

pronik gravatar image

I get the following error when a play a launch file to extract images. here is my launch file, saved in /home/usr/fi.launch and heres what i run roslaunch fi.launch

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2014-03-17 09:40:35 -0500

delete "play from args="...".

The rosbag package provides a program named "play" which you run as a node via the type="play" part of <node>. (Your usage here is reminiscent of the command-line tool rosbag.)

edit flag offensive delete link more

Comments

1
ahendrix gravatar image ahendrix  ( 2014-03-17 12:19:24 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-03-16 06:51:40 -0500

Seen: 1,245 times

Last updated: Mar 17 '14