Skip to content

Commit

Permalink
Fix MsgSerializer
Browse files Browse the repository at this point in the history
  • Loading branch information
TaroABEJido committed Apr 30, 2024
1 parent 33b5dac commit c3a1f0c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ public override TFMessageMsg Serialize()
foreach(TFData data in tfData)
{
TransformStampedMsg transform = new TransformStampedMsg();
transform.header.seq = headerMsg.seq;
transform.header.stamp = headerMsg.stamp;
transform.header = headerMsg;
transform.header.frame_id = data.frame_id_parent;
transform.child_frame_id = data.frame_id_child;
transform.transform.translation = data.position.To<FLU>();
Expand Down

0 comments on commit c3a1f0c

Please sign in to comment.