Ask Your Question
0

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
2

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

Comments

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

ajain gravatar imageajain ( 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

2 followers

Stats

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

Seen: 178 times

Last updated: Nov 02 '17