Skip to content

Commit

Permalink
FIxed header
Browse files Browse the repository at this point in the history
Signed-off-by: Shintaro Sakoda <[email protected]>
  • Loading branch information
SakodaShintaro committed Mar 7, 2024
1 parent 4d344a6 commit 90aa6b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def check_rosbag(duration: float, topic_name_to_msg_list: dict, required_fps: di
save_topics.append("/initialpose")
stamp = first_reference.header.stamp
msg = PoseWithCovarianceStamped()
msg.header.stamp = stamp
msg.header = first_reference.header
msg.pose = first_reference.pose
data = serialize_message(msg)
timestamp = int(stamp.sec * 1e9 + stamp.nanosec)
Expand Down

0 comments on commit 90aa6b3

Please sign in to comment.