From 82333049dfa54738153881c5d9913b8a6528d079 Mon Sep 17 00:00:00 2001 From: bjoernellens1 <64093272+bjoernellens1@users.noreply.github.com> Date: Thu, 16 Jan 2025 11:23:05 +0100 Subject: [PATCH] Update encoder_odom_publisher.py disabled tf publish --- nodes/encoder_odom_publisher.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/nodes/encoder_odom_publisher.py b/nodes/encoder_odom_publisher.py index 414d9c2..ff10a5d 100644 --- a/nodes/encoder_odom_publisher.py +++ b/nodes/encoder_odom_publisher.py @@ -102,15 +102,15 @@ class EncoderOdometry: rospy.logdebug("Publishing Odometry message.") self.odom_pub.publish(odom) - # Publish TF transform - rospy.logdebug("Publishing TF transform.") - self.odom_broadcaster.sendTransform( - (self.x, self.y, 0), - q, - rospy.Time.from_sec(current_time), - "base_link", - "odom" - ) + # # Publish TF transform + # rospy.logdebug("Publishing TF transform.") + # self.odom_broadcaster.sendTransform( + # (self.x, self.y, 0), + # q, + # rospy.Time.from_sec(current_time), + # "base_link", + # "odom" + # ) # Update previous values self.last_l_ticks = msg.l_ticks