From 0d1a527c896034b043f05858666a770a14475260 Mon Sep 17 00:00:00 2001 From: Erik Andresen Date: Sat, 21 Feb 2015 00:32:05 +0100 Subject: [PATCH] urdf cleanup --- scripts/arm_ros_conn.py | 2 +- urdf/arm.urdf.xacro | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/scripts/arm_ros_conn.py b/scripts/arm_ros_conn.py index 9bfe92d..ff06cdf 100755 --- a/scripts/arm_ros_conn.py +++ b/scripts/arm_ros_conn.py @@ -19,7 +19,7 @@ class ARMRosConn(): def odom_received(self, msg): pos = (msg.pose.pose.position.x, msg.pose.pose.position.y, msg.pose.pose.position.z) orientation = (msg.pose.pose.orientation.x, msg.pose.pose.orientation.y, msg.pose.pose.orientation.z, msg.pose.pose.orientation.w) - self.tf_broadcaster.sendTransform(pos, orientation, msg.header.stamp, "base_link", "odom") + self.tf_broadcaster.sendTransform(pos, orientation, rospy.Time.now(), "base_link", "odom") if __name__ == '__main__': ARMRosConn() diff --git a/urdf/arm.urdf.xacro b/urdf/arm.urdf.xacro index 8e7b3d5..dd7b0f1 100644 --- a/urdf/arm.urdf.xacro +++ b/urdf/arm.urdf.xacro @@ -54,15 +54,6 @@ - - - - - - - - - -- 2.39.5