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

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

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

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

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

lucasw gravatar image

updated 2016-03-22 15:20:48 -0600 - 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 : there is an issue to add pause support and is related.

edit flag offensive delete link more

Question Tools



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

Seen: 1,762 times

Last updated: Mar 22 '16