Rosbag C++ API compress rosbag
I need to compress my rosbag before I save it. I know for the command line there is a compress option, and there should be one for the C++ API. I tried rosbag.setCompression(rosbag::compression:BZ2), but this did not save the rosbag in a compressed form.