rosbag2_cpp append functionality

asked 2021-02-03 11:08:12 -0500

JohnG gravatar image

I am migrating some code from kinetic to foxy, but it appears that appending functionality of bagmode::Append for rosbag::Bag may be missing from rosbag2_cpp. The source for rosbag2_cpp::Writer specifies that the bagfile it opens must not exist prior to opening. There does appear to be storage_interfaces::IOFlag::APPEND, but I think that only applies to the SqliteStorage plugin.

Is there a way of replicating the append functionality from rosbag in rosbag2_cpp?

edit retag flag offensive close merge delete