From e24bdc19e68811fa9b203c38da265ad286141122 Mon Sep 17 00:00:00 2001 From: Michael Orlov Date: Wed, 12 Jun 2024 00:03:08 -0700 Subject: [PATCH] Address old uncrustify style warnings Signed-off-by: Michael Orlov --- rosbag2_py/src/rosbag2_py/_transport.cpp | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) 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) ;