Hi Cedric,<br><br>Yes, that functionality is on our roadmap.  Until then, you could look to <span style="font-family: courier new,monospace;">rosbag/recorder.cpp</span> and <span style="font-family: courier new,monospace;">rxbag/recorder.py</span> for implementations of bag recorders.  It should be straightforward to add service-based pausing/resuming on top of those.<br>

<br>Fyi, notes on planned future ROS functionality are kept here: <a href="http://www.ros.org/wiki/ROS/Roadmap">http://www.ros.org/wiki/ROS/Roadmap</a>.  It's great to get feedback from the community about what features would be useful, though.<br>


<br>Thanks,<br>Tim<br><br><div class="gmail_quote">On Thu, Jun 24, 2010 at 10:26 AM, Cedric Pradalier <span dir="ltr"><<a href="mailto:cedric.pradalier@mavt.ethz.ch">cedric.pradalier@mavt.ethz.ch</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;">Hi all,<br>
<br>
I was wondering if there is a way to make rosbag expose a service to<br>
pause/resume the recording? This would be quite useful in a<br>
data-collection application we are currently building, where we don't<br>
need to record all the time, but only on certain segments of the trajectory.<br>
<br>
Any thought on this functionality?<br>
<br>
Thanks<br>
<font color="#888888"><br>
--<br>
Dr. Cedric Pradalier<br>
<a href="http://www.asl.ethz.ch/people/cedricp" target="_blank">http://www.asl.ethz.ch/people/cedricp</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>
</font></blockquote></div><br>