Skip to content
Snippets Groups Projects
ur10.gazebo.xacro 1.09 KiB
Newer Older
robot's avatar
robot committed
<?xml version="1.0"?>
ipa-fxm's avatar
ipa-fxm committed
<robot xmlns:xacro="http://www.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_3_link">
robot's avatar
robot committed
			<material value="Gazebo/Grey" />
			<turnGravityOff>false</turnGravityOff>
		</gazebo>
	</xacro:macro>

</robot>