Skip to content

Commit

Permalink
Fix issue in the read_ros2_messages calling
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoBrizi authored Sep 13, 2024
1 parent 2fe9204 commit 6e4d718
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 6e4d718

Please sign in to comment.