~shadowrobot/sr-ros-interface/trunk

« back to all changes in this revision

Viewing changes to sr_description/hand/xacro/full_hand_motor_ellipsoid.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/wrist/wrist.urdf.xacro" />
 
8
  <include filename="$(find sr_hand)/model/hand_urdf/palm/palm.urdf.xacro" />
 
9
  <include filename="$(find sr_hand)/model/hand_urdf/finger/classic_finger_ellipsoid.urdf.xacro" />
 
10
  <include filename="$(find sr_hand)/model/hand_urdf/finger/little_finger_ellipsoid.urdf.xacro" />
 
11
  <include filename="$(find sr_hand)/model/hand_urdf/thumb/thumb_ellipsoid.urdf.xacro" />
 
12
 
 
13
  <xacro:macro name="shadowhand_motor">
 
14
 
 
15
    <xacro:forearm_motor>
 
16
    </xacro:forearm_motor>
 
17
 
 
18
    <xacro:wrist parent="forearm_motor">
 
19
      <origin xyz="0 -0.010 0.213" rpy="0 0 0" />
 
20
    </xacro:wrist>
 
21
 
 
22
    <xacro:palm parent="wrist">
 
23
    </xacro:palm>
 
24
 
 
25
    <xacro:finger link_prefix="ff" joint_prefix="FF" parent="palm">
 
26
      <origin xyz="0.033 0 0.095" rpy="0 0 0" />
 
27
      <axis xyz="0 -1 0" />
 
28
    </xacro:finger>
 
29
 
 
30
    <xacro:finger link_prefix="mf" joint_prefix="MF" parent="palm">
 
31
      <origin xyz="0.011 0 0.099" rpy="0 0 0" />
 
32
      <axis xyz="0 -1 0" />
 
33
    </xacro:finger>
 
34
 
 
35
    <xacro:finger link_prefix="rf" joint_prefix="RF" parent="palm">
 
36
      <origin xyz="-0.011 0 0.095" rpy="0 0 0" />
 
37
      <axis xyz="0 1 0" />
 
38
    </xacro:finger>
 
39
 
 
40
    <xacro:little_finger link_prefix="lf" joint_prefix="LF" parent="palm">
 
41
    </xacro:little_finger>
 
42
 
 
43
    <xacro:thumb parent="palm">
 
44
    </xacro:thumb>
 
45
 
 
46
  </xacro:macro>
 
47
 
 
48
</robot>