Skip to content

Commit

Permalink
Fix issue in the read_ros2_messages calling (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoBrizi authored Oct 9, 2024
1 parent 2fe9204 commit 1554764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/kiss_icp/datasets/mcap.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, data_dir: str, topic: str, *_, **__):
self.summary = self.bag.get_summary()
self.topic = self.check_topic(topic)
self.n_scans = self._get_n_scans()
self.msgs = read_ros2_messages(mcap_file, topics=self.topic)
self.msgs = read_ros2_messages(mcap_file, topics=[self.topic])
self.timestamps = []
self.read_point_cloud = read_point_cloud
self.use_global_visualizer = True
Expand Down

0 comments on commit 1554764

Please sign in to comment.