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()
<origin xyz="0.195 0.0 0.165" rpy="0 0 0"/>
</xacro:asus_camera>
- <link name="scan">
- </link>
-
- <joint name="scan_joint" type="fixed">
- <parent link="camera_depth_frame"/>
- <child link="scan"/>
- <origin xyz="0.0 0.0 0.0" rpy="0 0 0"/>
- </joint>
-
<joint name="front_wheel_joint" type="fixed">
<parent link="base_link"/>
<child link="front_wheel"/>