diff --git a/rosbag2_py/src/rosbag2_py/_transport.cpp b/rosbag2_py/src/rosbag2_py/_transport.cpp index 6143e6d1b..cf7f3455e 100644 --- a/rosbag2_py/src/rosbag2_py/_transport.cpp +++ b/rosbag2_py/src/rosbag2_py/_transport.cpp @@ -626,21 +626,26 @@ PYBIND11_MODULE(_transport, m) { .def(py::init<>()) .def(py::init()) .def("play", &rosbag2_py::Player::play, py::arg("storage_options"), py::arg("play_options")) - .def("play", &rosbag2_py::Player::play_with_signal_option, py::arg("storage_options"), - py::arg("play_options"), py::arg("enable_signal_handling")) - .def("burst", &rosbag2_py::Player::burst, py::arg("storage_options"), py::arg("play_options"), + .def( + "play", &rosbag2_py::Player::play_with_signal_option, py::arg("storage_options"), + py::arg("play_options"), py::arg("enable_signal_handling")) + .def( + "burst", &rosbag2_py::Player::burst, py::arg("storage_options"), py::arg("play_options"), py::arg("num_messages")) - .def("burst", &rosbag2_py::Player::burst_with_signal_option, py::arg("storage_options"), - py::arg("play_options"), py::arg("num_messages"), py::arg("enable_signal_handling")) + .def( + "burst", &rosbag2_py::Player::burst_with_signal_option, py::arg("storage_options"), + py::arg("play_options"), py::arg("num_messages"), py::arg("enable_signal_handling")) .def_static("cancel", &rosbag2_py::Player::cancel) ; py::class_(m, "Recorder") .def(py::init<>()) .def(py::init()) - .def("record", &rosbag2_py::Recorder::record, py::arg("storage_options"), + .def( + "record", &rosbag2_py::Recorder::record, py::arg("storage_options"), py::arg("record_options"), py::arg("node_name") = "rosbag2_recorder") - .def("record", &rosbag2_py::Recorder::record_with_signal_option, py::arg("storage_options"), + .def( + "record", &rosbag2_py::Recorder::record_with_signal_option, py::arg("storage_options"), py::arg("record_options"), py::arg("node_name"), py::arg("enable_signal_handling")) .def_static("cancel", &rosbag2_py::Recorder::cancel) ;