Skip to content

Commit 45c179c

Browse files
authored
Merge pull request #276 from fmessmer/fix/emulation_odom_laser
publish odom_laser tf with current time
2 parents 9cc36ce + 40cf6bb commit 45c179c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cob_hardware_emulation/scripts/emulation_odom_laser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def publish_tf(self):
4545
# publish tf
4646
# pub base_footprint --> odom_frame
4747
t_odom = TransformStamped()
48-
t_odom.header.stamp = self._odom.header.stamp
48+
t_odom.header.stamp = rospy.Time.now()
4949
t_odom.header.frame_id = self._odom_frame
5050
t_odom.child_frame_id = "base_footprint"
5151
t_odom.transform.translation = self._odom.pose.pose.position

0 commit comments

Comments
 (0)