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

rosbag service?

asked 2012-08-08 06:28:07 -0500

damonkohler gravatar image

Is there a topic, actionlib, or service interface for controlling the recording of bag files?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-08-08 06:57:11 -0500

Lorenz gravatar image

updated 2022-01-12 11:04:49 -0500

lucasw gravatar image

Related really old post: (was

I was wondering if there is a way to make rosbag expose a service to pause/resume the recording? This would be quite useful in a data-collection application we are currently building, where we don't need to record all the time, but only on certain segments of the trajectory.

Any thought on this functionality?


Dr. Cedric Pradalier

Hi Cedric,

Yes, that functionality is on our roadmap. Until then, you could look to rosbag/recorder.cpp and rxbag/ for implementations of bag recorders. It should be straightforward to add service-based pausing/resuming on top of those.

Fyi, notes on planned future ROS functionality are kept here: It's great to get feedback from the community about what features would be useful, though.

Thanks, Tim

edit flag offensive delete link more

Question Tools


Asked: 2012-08-08 06:28:07 -0500

Seen: 538 times

Last updated: Jan 12 '22