C++ Equivalent of ROSBag Code
What is the C++ equivalent of "rewriting bag", given in the cookbook?
I want to process a particular topic from a rosbag file and write the others unchanged to a new bagfile. Any help would be appreciated.