ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Does rosbag c++ api write to memory or disk?

asked 2017-11-02 13:04:15 -0600

ajain gravatar image

I am writing a ROS node that triggers rosbags using a service. I am trying to decide between using rosbag c++ api vs running rosbag record command using command line from my c++ code. It is required that rosbag data is written to disk directly rather than first stored in memory and then store on disk after recording is stopped.

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-11-02 14:50:51 -0600

gvdhoorn gravatar image

Perhaps osrf/nodelet_rosbag can already do what you need/want.

edit flag offensive delete link more


Thanks, I looked into the code for both. nodelet_rosbag may be the right approach.

ajain gravatar image ajain  ( 2017-11-02 17:41:41 -0600 )edit

Your Answer

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

Add Answer

Question Tools



Asked: 2017-11-02 13:04:15 -0600

Seen: 378 times

Last updated: Nov 02 '17