~shadowrobot/sr-ros-interface/trunk

« back to all changes in this revision

Viewing changes to sr_description/hand/xacro/one_finger_unit_motor.urdf.xacro

  • Committer: Ugo Cupcic
  • Date: 2012-07-23 12:23:41 UTC
  • Revision ID: ugo@shadowrobot.com-20120723122341-vlkm85bisxyv2wsw
just moved all the models out of sr_hand into sr_description, not rewritten yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<robot xmlns:sensor="http://playerstage.sourceforge.net/gazebo/xmlschema/#sensor"
 
2
       xmlns:controller="http://playerstage.sourceforge.net/gazebo/xmlschema/#controller"
 
3
       xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface"
 
4
       xmlns:xacro="http://www.ros.org/wiki/xacro">
 
5
 
 
6
  <include filename="$(find sr_hand)/model/hand_urdf/forearm/forearm_motor.urdf.xacro" />
 
7
  <include filename="$(find sr_hand)/model/hand_urdf/finger/classic_finger.urdf.xacro" />
 
8
 
 
9
  <xacro:macro name="shadowhand_motor">
 
10
 
 
11
    <xacro:forearm_motor>
 
12
    </xacro:forearm_motor>
 
13
 
 
14
    <link name="dummy_palm">
 
15
      <inertial>
 
16
        <mass value="0.010" />
 
17
        <origin xyz="0 0 0" />
 
18
        <inertia  ixx="1.0" ixy="0.0"  ixz="0.0"  iyy="0.0"  iyz="0.0"
 
19
        izz="0.0" />
 
20
      </inertial>
 
21
      <visual>
 
22
        <origin xyz="0 0 0.0505" rpy="0 0 0" />
 
23
        <geometry name="dummy_palm_visual">
 
24
          <box size="0.015 0.015 0.110" />
 
25
        </geometry>
 
26
      <material name="Grey" />
 
27
      </visual>
 
28
      <collision>
 
29
        <origin xyz="0 0 0.0" rpy="0 0 0" />
 
30
        <geometry name="dummy_palm_collision_geom">
 
31
          <box size="0.015 0.015 0.110" />
 
32
        </geometry>
 
33
      </collision>
 
34
    </link>
 
35
 
 
36
    <joint name="forearm_to_dummy" type="fixed">
 
37
      <parent link="forearm_motor"/>
 
38
      <child link="dummy_palm"/>
 
39
      <origin xyz="0.011 0.010 0.22" rpy="0 0 3.14"/>
 
40
    </joint>
 
41
 
 
42
    <!-- mfknuckle is at [0.011 -0.01 0.346] from the bottom of forearm_motor -->
 
43
    <xacro:finger link_prefix="mf" joint_prefix="MF" parent="dummy_palm">
 
44
      <origin xyz="0.0 0 0.116" rpy="0 0 0" />
 
45
      <axis xyz="0 -1 0" />
 
46
    </xacro:finger>
 
47
 
 
48
  </xacro:macro>
 
49
 
 
50
</robot>
 
 
b'\\ No newline at end of file'