Skip to content

Commit

Permalink
Remove printfs
Browse files Browse the repository at this point in the history
Signed-off-by: Emerson Knapp <eknapp@amazon.com>
  • Loading branch information
Emerson Knapp committed Mar 26, 2021
1 parent c3d3bfa commit c36ebd4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions rosbag2_py/src/rosbag2_py/_transport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ class Transport
const rosbag2_storage::StorageOptions & storage_options,
const rosbag2_transport::PlayOptions & play_options)
{
printf("Entered rosbag2_py::Transport::play\n");
auto writer = std::make_shared<rosbag2_cpp::Writer>(
std::make_unique<rosbag2_cpp::writers::SequentialWriter>());
std::shared_ptr<rosbag2_cpp::Reader> reader = nullptr;
Expand All @@ -63,18 +62,14 @@ class Transport
}
}
if (reader == nullptr) {
printf("Creating regular player\n");
reader = std::make_shared<rosbag2_cpp::Reader>(
std::make_unique<rosbag2_cpp::readers::SequentialReader>());
}
}

printf("Creating Rosbag2Transport\n");
Rosbag2Transport impl(reader, writer);
impl.init();
printf("Calling play\n");
impl.play(storage_options, play_options);
printf("Done playing\n");
impl.shutdown();
}
};
Expand Down

0 comments on commit c36ebd4

Please sign in to comment.