mirror of
https://github.com/bjoernellens1/cps_rmp220_support.git
synced 2025-01-18 23:56: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.")
|
rospy.logdebug("Publishing Odometry message.")
|
||||||
self.odom_pub.publish(odom)
|
self.odom_pub.publish(odom)
|
||||||
|
|
||||||
# Publish TF transform
|
# # Publish TF transform
|
||||||
rospy.logdebug("Publishing TF transform.")
|
# rospy.logdebug("Publishing TF transform.")
|
||||||
self.odom_broadcaster.sendTransform(
|
# self.odom_broadcaster.sendTransform(
|
||||||
(self.x, self.y, 0),
|
# (self.x, self.y, 0),
|
||||||
q,
|
# q,
|
||||||
rospy.Time.from_sec(current_time),
|
# rospy.Time.from_sec(current_time),
|
||||||
"base_link",
|
# "base_link",
|
||||||
"odom"
|
# "odom"
|
||||||
)
|
# )
|
||||||
|
|
||||||
# Update previous values
|
# Update previous values
|
||||||
self.last_l_ticks = msg.l_ticks
|
self.last_l_ticks = msg.l_ticks
|
||||||
|
Loading…
Reference in New Issue
Block a user