Skip to content

Commit 422e754

Browse files
authored
Add binding to close the writer (ros2#1339)
Signed-off-by: Yadunund <[email protected]>
1 parent 3365f8f commit 422e754

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rosbag2_py/src/rosbag2_py/_writer.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ PYBIND11_MODULE(_writer, m) {
9797
const rosbag2_storage::StorageOptions &, const rosbag2_cpp::ConverterOptions &
9898
>(&PyWriter::open))
9999
.def("write", &PyWriter::write)
100+
.def("close", &PyWriter::close)
100101
.def("remove_topic", &PyWriter::remove_topic)
101102
.def(
102103
"create_topic",

0 commit comments

Comments
 (0)