diff --git a/python/mcap/mcap/reader.py b/python/mcap/mcap/reader.py index 96a47d833..453be0818 100644 --- a/python/mcap/mcap/reader.py +++ b/python/mcap/mcap/reader.py @@ -84,7 +84,7 @@ def _chunks_matching_topics( :param summary: the summary of this MCAP. :param topics: topics to match. If None, all chunk indices in the summary are returned. :param start_time: if not None, messages from before this unix timestamp are not included. - :param end_time: if not None, messages from after this unix timestamp are not included. + :param end_time: if not None, messages at or after this unix timestamp are not included. """ out: List[ChunkIndex] = [] for chunk_index in summary.chunk_indexes: @@ -138,8 +138,8 @@ def iter_messages( :param topics: if not None, only messages from these topics will be returned. :param start_time: an integer nanosecond timestamp. if provided, messages logged before this timestamp are not included. - :param end_time: an integer nanosecond timestamp. if provided, messages logged after this - timestamp are not included. + :param end_time: an integer nanosecond timestamp. if provided, messages logged at or after + this timestamp are not included. :param log_time_order: if True, messages will be yielded in ascending log time order. If False, messages will be yielded in the order they appear in the MCAP file. :param reverse: if both ``log_time_order`` and ``reverse`` are True, messages will be @@ -160,8 +160,8 @@ def iter_decoded_messages( :param topics: if not None, only messages from these topics will be returned. :param start_time: an integer nanosecond timestamp. if provided, messages logged before this timestamp are not included. - :param end_time: an integer nanosecond timestamp. if provided, messages logged after this - timestamp are not included. + :param end_time: an integer nanosecond timestamp. if provided, messages logged at or after + this timestamp are not included. :param log_time_order: if True, messages will be yielded in ascending log time order. If False, messages will be yielded in the order they appear in the MCAP file. :param reverse: if both ``log_time_order`` and ``reverse`` are True, messages will be @@ -274,8 +274,8 @@ def iter_messages( :param topics: if not None, only messages from these topics will be returned. :param start_time: an integer nanosecond timestamp. if provided, messages logged before this timestamp are not included. - :param end_time: an integer nanosecond timestamp. if provided, messages logged after this - timestamp are not included. + :param end_time: an integer nanosecond timestamp. if provided, messages logged at or after + this timestamp are not included. :param log_time_order: if True, messages will be yielded in ascending log time order. If False, messages will be yielded in the order they appear in the MCAP file. :param reverse: if both ``log_time_order`` and ``reverse`` are True, messages will be @@ -476,8 +476,8 @@ def iter_messages( :param topics: if not None, only messages from these topics will be returned. :param start_time: an integer nanosecond timestamp. if provided, messages logged before this timestamp are not included. - :param end_time: an integer nanosecond timestamp. if provided, messages logged after this - timestamp are not included. + :param end_time: an integer nanosecond timestamp. if provided, messages logged at or after + this timestamp are not included. :param log_time_order: if True, messages will be yielded in ascending log time order. If False, messages will be yielded in the order they appear in the MCAP file. :param reverse: if both ``log_time_order`` and ``reverse`` are True, messages will be