<?xml version="1.0"?>
<robot  xmlns:xacro="http://www.ros.org/wiki/xacro" name="firefighter" >
	
<xacro:property name="width" value=".2" />

  <link name="gripper_base">
    <visual>
      <geometry>
       <mesh filename="package://mycobot_description/urdf/pro_adaptive_gripper/gripper_base.dae"/>
      </geometry>
    <origin xyz = "-0.02 0.012 -0.018 " rpy = " 0 0 1.5708"/>
    </visual>
    <collision>
      <geometry>
       <mesh filename="package://mycobot_description/urdf/pro_adaptive_gripper/gripper_base.dae"/>
      </geometry>
    <origin xyz = "-0.02 0.012 -0.018 " rpy = " 0 0 1.5708"/>
    </collision>
  </link>

  <link name="gripper_left1">
    <visual>
      <geometry>
       <mesh filename="package://mycobot_description/urdf/pro_adaptive_gripper/gripper_left1.dae"/>
      </geometry>
    <origin xyz = "0.036 -0.052 0.0 " rpy = " 0 0 1.5708"/>
    </visual>
    <collision>
      <geometry>
       <mesh filename="package://mycobot_description/urdf/pro_adaptive_gripper/gripper_left1.dae"/>
      </geometry>
        <origin xyz = "0.036 -0.052 0.0 " rpy = " 0 0 1.5708"/>
    </collision>
  </link>

  <link name="gripper_left2">
    <visual>
      <geometry>
       <mesh filename="package://mycobot_description/urdf/pro_adaptive_gripper/gripper_left2.dae"/>
      </geometry>
    <origin xyz = "0.03 0.024 -0.018 " rpy = " 0 0 1.5708"/>
    </visual>
    <collision>
      <geometry>
       <mesh filename="package://mycobot_description/urdf/pro_adaptive_gripper/gripper_left2.dae"/>
      </geometry>
        <origin xyz = "0.03 0.024 -0.018 " rpy = " 0 0 1.5708"/>
    </collision>
  </link>

  <link name="gripper_left3">
    <visual>
      <geometry>
       <mesh filename="package://mycobot_description/urdf/pro_adaptive_gripper/gripper_left3.dae"/>
      </geometry>
    <origin xyz = "0.034 0.0 -0.012 " rpy = " 0 3.14159 -1.5708"/>

    </visual>
    <collision>
      <geometry>
       <mesh filename="package://mycobot_description/urdf/pro_adaptive_gripper/gripper_left3.dae"/>
      </geometry>
    <origin xyz = "0.034 0.0 -0.012 " rpy = " 0 3.14159 -1.5708"/>
    </collision>
  </link>

  <link name="gripper_right1">
    <visual>
      <geometry>
       <mesh filename="package://mycobot_description/urdf/pro_adaptive_gripper/gripper_right1.dae"/>
      </geometry>
    <origin xyz = "-0.072 -0.05 0.0 " rpy = " 0 0 1.5708"/>
    </visual>
    <collision>
      <geometry>
       <mesh filename="package://mycobot_description/urdf/pro_adaptive_gripper/gripper_right1.dae"/>
      </geometry>
        <origin xyz = "-0.072 -0.05 0.0 " rpy = " 0 0 1.5708"/>
    </collision>
  </link>

  <link name="gripper_right2">
    <visual>
      <geometry>
       <mesh filename="package://mycobot_description/urdf/pro_adaptive_gripper/gripper_right2.dae"/>
      </geometry>
    <origin xyz = "-0.066 0.023 -0.018 " rpy = " 0 0 1.5708"/>
    </visual>
    <collision>
      <geometry>
       <mesh filename="package://mycobot_description/urdf/pro_adaptive_gripper/gripper_right2.dae"/>
      </geometry>
        <origin xyz = "-0.066 0.023 -0.018 " rpy = " 0 0 1.5708"/>
    </collision>
  </link>

  <link name="gripper_right3">
    <visual>
      <geometry>
       <mesh filename="package://mycobot_description/urdf/pro_adaptive_gripper/gripper_right3.dae"/>
      </geometry>
    <origin xyz = "0 0.0 -0.012 " rpy = " 0 3.14159 -1.5708"/>

    </visual>
    <collision>
      <geometry>
       <mesh filename="package://mycobot_description/urdf/pro_adaptive_gripper/gripper_right3.dae"/>
      </geometry>
    <origin xyz = "0.0 0.0 -0.012 " rpy = " 0 3.14159 -1.5708"/>
    </collision>
  </link>

    <joint name="gripper_controller" type="revolute">
    <axis xyz="0 0 1"/>
    <limit effort = "1000.0" lower = "-0.7" upper = "0.3" velocity = "0"/>
    <parent link="gripper_base"/>
    <child link="gripper_left3"/>
    <origin xyz= "-0.018 0.016 0" rpy = "0 0 0"/> 
  </joint>

  <joint name="gripper_base_to_gripper_left2" type="revolute">
    <axis xyz="0 0 1"/>
    <limit effort = "1000.0" lower = "-0.8" upper = "0.5" velocity = "0"/>
    <parent link="gripper_base"/>
    <child link="gripper_left2"/>
    <origin xyz= "-0.05 -0.01 0" rpy = "0 0 0"/> 
    <mimic joint="gripper_controller" multiplier="1.0" offset="0" />
  </joint>

  <joint name="gripper_left3_to_gripper_left1" type="revolute">
    <axis xyz="0 0 1"/>
    <limit effort = "1000.0" lower = "-0.5" upper = "0.5" velocity = "0"/>
    <parent link="gripper_left3"/>
    <child link="gripper_left1"/>
    <origin xyz= "-0.0356 0.051 -0.018" rpy = "0 0 0"/> 
    <mimic joint="gripper_controller" multiplier="-1.0" offset="0" />
  </joint>

    <joint name="gripper_base_to_gripper_right3" type="revolute">
    <axis xyz="0 0 1"/>
    <limit effort = "1000.0" lower = "-0.3" upper = "0.7" velocity = "0"/>
    <parent link="gripper_base"/>
    <child link="gripper_right3"/>
    <origin xyz= "0.018 0.016 0" rpy = "0 0 0"/> 
    <mimic joint="gripper_controller" multiplier="-1.0" offset="0" />
  </joint>

  <joint name="gripper_base_to_gripper_right2" type="revolute">
    <axis xyz="0 0 1"/>
    <limit effort = "1000.0" lower = "-0.5" upper = "0.8" velocity = "0"/>
    <parent link="gripper_base"/>
    <child link="gripper_right2"/>
    <origin xyz= "0.046 -0.01 0" rpy = "0 0 0"/> 
    <mimic joint="gripper_controller" multiplier="-1.0" offset="0" />
  </joint>

  <joint name="gripper_right3_to_gripper_right1" type="revolute">
    <axis xyz="0 0 1"/>
    <limit effort = "1000.0" lower = "-0.5" upper = "0.5" velocity = "0"/>
    <parent link="gripper_right3"/>
    <child link="gripper_right1"/>
    <origin xyz= "0.033 0.051 -0.018" rpy = "0 0 0"/> 
    <mimic joint="gripper_controller" multiplier="1.0" offset="0" />
  </joint>


</robot>
