How to stop rosbag recording in C++ rather than command line ?
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?
Asked by Simonwang on 2016-03-22 13:18:17 UTC
Answers
http://answers.ros.org/question/216866/rosbag-record-a-in-c/ - 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/issues/95 and https://github.com/ros/ros_comm/pull/737 is related.
Asked by lucasw on 2016-03-22 15:20:12 UTC
Comments