Easiest work around right now would simply be to modify your installed copy:<br><br>cp ${ROS_ROOT}/bin/rosbag `rospack find rosbag`/bin<br><br><div class="gmail_quote">On Wed, Jun 9, 2010 at 9:38 AM, Patrick Bouffard <span dir="ltr"><<a href="mailto:bouffard@eecs.berkeley.edu">bouffard@eecs.berkeley.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks Jeremy. Aside from the option flags though, do you have any<br>
suggestions on how to workaround the fatal error?<br>
<br>
Pat<br>
<div><div></div><div class="h5"><br>
On Wed, Jun 9, 2010 at 12:13 AM, Jeremy Leibs <<a href="mailto:leibs@willowgarage.com">leibs@willowgarage.com</a>> wrote:<br>
> Yes, this is an oversight in the rosbag package.  The play node should<br>
> use the new flags, not the old flags.<br>
><br>
> I consider this to be a bug and we should have a fix in place for the<br>
> next patch release of ROS we push out.<br>
><br>
> On Tue, Jun 8, 2010 at 11:59 PM, Patrick Bouffard<br>
> <<a href="mailto:bouffard@eecs.berkeley.edu">bouffard@eecs.berkeley.edu</a>> wrote:<br>
>> In boxturtle I was able to create launch files that were used to<br>
>> replay sensor data through algorithms. I would do something like this:<br>
>><br>
>> <node pkg="rosbag" type="rosbag" name="rosbag" args="play -s 10<br>
>> --clock /path/to/bagfile.bag" /><br>
>><br>
>> However with cturtle this no longer seems to work. "rosbag" does not<br>
>> appear to be a recognized node type of the rosbag package. Instead it<br>
>> recognizes type="play", however it seems that the commandline<br>
>> arguments are back to the old, "rosplay" style (i.e. for the above the<br>
>> options would be '-t 10 -b'). If I do this:<br>
>><br>
>> <node pkg="rosbag" type="play" name="rosbag" args="play -t 10 -b<br>
>> /path/to/bagfile.bag" /><br>
>><br>
>> .. it no longer complains about the options but I still get:<br>
>><br>
>> [ INFO] [0.000000000]: Opening /path/to/bagfile.bag<br>
>> [ INFO] [0.000000000]: Opening __name:=rosbag<br>
>> [FATAL] [0.000000000]: Error opening file: __name:=rosbag<br>
>><br>
>> What is the 'correct' way to start rosbag play with options from<br>
>> within a launch file, specifically in cturtle and also in boxturtle,<br>
>> if what I had started with above is not advised?<br>
>><br>
>> Thanks,<br>
>> Pat<br>
>> _______________________________________________<br>
>> ros-users mailing list<br>
>> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
>> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
>><br>
> _______________________________________________<br>
> ros-users mailing list<br>
> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></blockquote></div><br>