mirror of
https://github.com/bjoernellens1/cps_rmp220_support.git
synced 2025-01-18 15:46:59 +00:00
Update encoder_odom_publisher.py disabled tf publish
This commit is contained in:
parent
662dd2130c
commit
82333049df
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user