Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
Signed-off-by: Shunsuke Miura <[email protected]>
  • Loading branch information
miursh committed Dec 5, 2023
1 parent 095f6da commit 404511c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perception_dataset/rosbag2/rosbag2_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def _set_tf_buffer(self):
if "/tf" not in self._topic_name_to_topic_type:
raise ValueError(f"/tf is not in {self._bag_dir}")
if "/tf_static" not in self._topic_name_to_topic_type:
raise ValueError(f"tf_static is not in {self._bag_dir}")
raise ValueError(f"/tf_static is not in {self._bag_dir}")
for message in self.read_messages(topics=["/tf"]):
for transform in message.transforms:
self._tf_buffer.set_transform(transform, "default_authority")
Expand Down

0 comments on commit 404511c

Please sign in to comment.