Skip to content

Commit

Permalink
update commit
Browse files Browse the repository at this point in the history
  • Loading branch information
xtk8532704 committed Jun 24, 2024
1 parent 594937f commit 04c8461
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def load_rosbag(self, rosbag2_path: str):
for field in msg.__slots__:
setattr(
new_msg, field, getattr(msg, field)
) # it's unsafe because the elements inside the message are still the old type, but it works for now on.
) # it's unsafe because the elements inside the message are still the old type, but it works for now on because they share the same elements' names and structures.
msg = new_msg
self.rosbag_objects_data.append((stamp, msg))
if topic == ego_odom_topic:
Expand Down

0 comments on commit 04c8461

Please sign in to comment.