Skip to content

Commit

Permalink
fix(rosbag2_cpp): Remove unnecessary ManualSplitSequentialWriter.
Browse files Browse the repository at this point in the history
After making split_bagfile public, this class was no longer necessary.

Signed-off-by: Rick Shanor <rickshanor@gmail.com>
  • Loading branch information
rshanor committed Oct 6, 2022
1 parent f382130 commit 78f3912
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion rosbag2_cpp/test/rosbag2_cpp/fake_data.cpp
Expand Up @@ -28,7 +28,7 @@ void write_sample_split_bag(
{
std::string topic_name = "testtopic";

ManualSplitSequentialWriter writer{};
rosbag2_cpp::writers::SequentialWriter writer{};
writer.open(storage_options, rosbag2_cpp::ConverterOptions{});
writer.create_topic(
{
Expand Down
6 changes: 0 additions & 6 deletions rosbag2_cpp/test/rosbag2_cpp/fake_data.hpp
Expand Up @@ -20,12 +20,6 @@

#include "rosbag2_cpp/writers/sequential_writer.hpp"

class ManualSplitSequentialWriter : public rosbag2_cpp::writers::SequentialWriter
{
public:
using rosbag2_cpp::writers::SequentialWriter::split_bagfile;
};

// Write vector of <timestamp, uint32_data_value> pairs to bag files, splitting every N messages
void write_sample_split_bag(
const rosbag2_storage::StorageOptions & storage_options,
Expand Down

0 comments on commit 78f3912

Please sign in to comment.