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

How to stop rosbag recording in C++ rather than command line ?

asked 2016-03-22 13:18:17 -0500

Simonwang gravatar image

The rosbag::recorder class by default can only stop rosbag recording when the rosnode is shutdown. Is there any change we can make so that the ROS application would start and stop recordings by calling function?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2016-03-22 15:20:12 -0500

lucasw gravatar image

updated 2016-03-22 15:20:48 -0500

http://answers.ros.org/question/21686... - my approach is kind of clunky to get running (and I don't have public code) currently but once done has worked great.

Getting real stopping support would be great, there are some related efforts on https://github.com/ros/ros_comm : there is an issue to add pause support https://github.com/ros/ros_comm/issue... and https://github.com/ros/ros_comm/pull/737 is related.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-03-22 13:18:17 -0500

Seen: 1,811 times

Last updated: Mar 22 '16