Continuous Ingest for ROS 2: No Splits, No Merge

A rosbag recording is ultimately written to files, and a single file cannot grow forever.
Something has to close it at some point, so rosbag2 makes you pick: ros2 bag record -a -b 100000
closes one every 100 kilobytes, or -d 9000 closes one every 9000 seconds. Either way, a
recording that runs for hours comes out as a directory of many small files instead of one huge
file that becomes awkward to work with.
Splitting a recording into five minute bags seems like a simple solution. The problem starts when you need to turn them back into one file.
A rosbag2 user reported that merging 300 GB of split recordings required roughly 600 GB of disk capacity. The original 300 GB stays on disk while another 300 GB is written out as the merged bag.
Splitting solves one problem. Merging creates another, and it is easy to underestimate.

