Skip to content

Commit

Permalink
Merge pull request #158 from TaroABEJido/feature/fix_TFMsgSerializer
Browse files Browse the repository at this point in the history
Fix MsgSerializer
  • Loading branch information
Autumn60 authored May 2, 2024
2 parents 33b5dac + c3a1f0c commit db1cad6
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 db1cad6

Please sign in to comment.