From 66829235c35427dcae83c6a110fc5fe2126c3f2e Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 14 Jan 2025 12:48:43 +0100 Subject: [PATCH] update --- nodes/odom_publisher_linus.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes/odom_publisher_linus.py b/nodes/odom_publisher_linus.py index b502898..ae9df2f 100644 --- a/nodes/odom_publisher_linus.py +++ b/nodes/odom_publisher_linus.py @@ -15,8 +15,8 @@ def odom_callback(msg): odom_trans.child_frame_id = "base_link" # Set the translation - odom_trans.transform.translation.x = msg.pose.pose.position.x - odom_trans.transform.translation.y = msg.pose.pose.position.y + odom_trans.transform.translation.y = msg.pose.pose.position.x + odom_trans.transform.translation.x = msg.pose.pose.position.y odom_trans.transform.translation.z = msg.pose.pose.position.z # Set the rotation