Skip to content

Commit

Permalink
Update SDK to version 0.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Roboto-Bot-O committed Aug 30, 2024
1 parent 51bc797 commit 9e9156d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/roboto/domain/topics/mcap_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
)
from .record import MessagePathRecord

json_decoder = JsonDecoderFactory()
ros1_decoder = mcap_ros1.decoder.DecoderFactory()
ros2_decoder = mcap_ros2.decoder.DecoderFactory()


class McapReader:
__message_iterator: typing.Iterator[mcap.reader.DecodedMessageTuple]
Expand All @@ -35,6 +31,9 @@ def __init__(
start_time: typing.Optional[int] = None,
end_time: typing.Optional[int] = None,
):
json_decoder = JsonDecoderFactory()
ros1_decoder = mcap_ros1.decoder.DecoderFactory()
ros2_decoder = mcap_ros2.decoder.DecoderFactory()
reader = mcap.reader.make_reader(
stream, decoder_factories=[json_decoder, ros1_decoder, ros2_decoder]
)
Expand Down
2 changes: 1 addition & 1 deletion src/roboto/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.7.3"
__version__ = "0.7.4"

__all__= ("__version__",)

0 comments on commit 9e9156d

Please sign in to comment.