Ask Your Question
1

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
0

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

lucasw gravatar image

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 1,172 times

Last updated: Mar 22 '16