rosbag service?
Is there a topic, actionlib, or service interface for controlling the recording of bag files?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Is there a topic, actionlib, or service interface for controlling the recording of bag files?
Related really old post: http://lists.ros.org/lurker/message/2... (was http://ros-users.122217.n3.nabble.com...)
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?
Thanks
Dr. Cedric Pradalier http://www.asl.ethz.ch/people/cedricp
Hi Cedric,
Yes, that functionality is on our roadmap. Until then, you could look to rosbag/recorder.cpp and rxbag/recorder.py 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: http://www.ros.org/wiki/ROS/Roadmap. It's great to get feedback from the community about what features would be useful, though.
Thanks, Tim
Asked: 2012-08-08 06:28:07 -0500
Seen: 530 times
Last updated: Jan 12 '22
How to control rosbag record from a topic?
How to Detect Subscriber Drops a Message
Error with octomap_server: "process has died, exit code -6" [closed]
Subscribing to compressed Images from rosbag
How to split a recorded rosbag file ?
Problems in extracting images from bag file
rosbag pause Marker disappears
publish only some topics of a rosbag file (Command line or launch file)