Skip to content
Snippets Groups Projects
ur10.gazebo.xacro 1.34 KiB
Newer Older
robot's avatar
robot committed
<?xml version="1.0"?>

<robot xmlns:sensor="http://playerstage.sourceforge.net/gazebo/xmlschema/#sensor"
       xmlns:controller="http://playerstage.sourceforge.net/gazebo/xmlschema/#controller"
       xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface"
       xmlns:xacro="http://ros.org/wiki/xacro">

	<xacro:macro name="ur10_arm_gazebo" params="prefix">
		<gazebo reference="${prefix}base_link">
robot's avatar
robot committed
			<material value="Gazebo/Grey" />
			<turnGravityOff>false</turnGravityOff>
		</gazebo>

		<gazebo reference="${prefix}shoulder_pan_link">
robot's avatar
robot committed
			<material value="Gazebo/Blue " />
			<turnGravityOff>false</turnGravityOff>
		</gazebo>

		<gazebo reference="${prefix}shoulder_lift_link">
robot's avatar
robot committed
			<material value="Gazebo/Grey" />
			<turnGravityOff>false</turnGravityOff>
		</gazebo>
	
		<gazebo reference="${prefix}elbow_link">
robot's avatar
robot committed
			<material value="Gazebo/Blue " />
			<turnGravityOff>false</turnGravityOff>
		</gazebo>
	
		<gazebo reference="${prefix}wrist_1_link">
robot's avatar
robot committed
			<material value="Gazebo/Grey" />
			<turnGravityOff>false</turnGravityOff>
		</gazebo>
	
		<gazebo reference="${prefix}wrist_2_link">
robot's avatar
robot committed
			<material value="Gazebo/Blue " />
			<turnGravityOff>false</turnGravityOff>
		</gazebo>

		<gazebo reference="${prefix}wrist_1_link">
robot's avatar
robot committed
			<material value="Gazebo/Grey" />
			<turnGravityOff>false</turnGravityOff>
		</gazebo>

	</xacro:macro>

</robot>