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