Does rosbag c++ api write to memory or disk?
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.