diff --git a/rosbag2_py/rosbag2_py/_transport.pyi b/rosbag2_py/rosbag2_py/_transport.pyi index fdd8f0780..6189f3ce2 100644 --- a/rosbag2_py/rosbag2_py/_transport.pyi +++ b/rosbag2_py/rosbag2_py/_transport.pyi @@ -36,10 +36,16 @@ class Player: def __init__(self) -> None: ... @overload def __init__(self, arg0: str) -> None: ... + @overload def burst(self, storage_options: rosbag2_py._storage.StorageOptions, play_options: PlayOptions, num_messages: int) -> None: ... + @overload + def burst(self, storage_options: rosbag2_py._storage.StorageOptions, play_options: PlayOptions, num_messages: int, enable_signal_handling: bool) -> None: ... @staticmethod def cancel() -> None: ... + @overload def play(self, storage_options: rosbag2_py._storage.StorageOptions, play_options: PlayOptions) -> None: ... + @overload + def play(self, storage_options: rosbag2_py._storage.StorageOptions, play_options: PlayOptions, enable_signal_handling: bool) -> None: ... class RecordOptions: all_services: bool @@ -77,7 +83,10 @@ class Recorder: def __init__(self, arg0: str) -> None: ... @staticmethod def cancel() -> None: ... + @overload def record(self, storage_options: rosbag2_py._storage.StorageOptions, record_options: RecordOptions, node_name: str = ...) -> None: ... + @overload + def record(self, storage_options: rosbag2_py._storage.StorageOptions, record_options: RecordOptions, node_name: str, enable_signal_handling: bool) -> None: ... class ServiceRequestsSource: __members__: ClassVar[dict] = ... # read-only