~shadowrobot/sr-ros-interface/trunk

« back to all changes in this revision

Viewing changes to sr_description/arm/xacro/hand_support/shadowarm_handsupport_muscle.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:xacro="http://www.ros.org/wiki/xacro">
 
2
 
 
3
  <include filename="$(find sr_hand)/model/arm_urdf/hand_support/shadowarm_handsupport_muscle.transmission.xacro" />
 
4
 
 
5
  <xacro:macro name="shadowarm_handsupport_muscle" params="parent">
 
6
 
 
7
    <link name="shadowarm_handsupport_muscle">
 
8
      <inertial>
 
9
        <origin xyz="0 0 0" rpy="0 0 0" />
 
10
        <mass value="0.75" />
 
11
        <inertia  ixx="1.0" ixy="0.0"  ixz="0.0"  iyy="0.0"  iyz="0.0"  izz="0.0" />
 
12
      </inertial>
 
13
      <visual>
 
14
        <origin xyz="0 0 -0.04" rpy="${M_PI/2} 0 0"/>
 
15
        <geometry name="shadowarm_handsupport_visual">
 
16
          <mesh filename="package://sr_hand/model/meshes/arm/elbow_rotate_muscle.mesh" scale="0.001 0.001 0.001" />
 
17
        </geometry>
 
18
        <material name="LightGrey" />
 
19
      </visual>
 
20
      <collision>
 
21
        <origin xyz="0 0 0" rpy="0 0 0"/>
 
22
        <geometry name="shadowarm_handsupport_collision">
 
23
          <cylinder radius="0.06" length="0.001"/>
 
24
        </geometry>
 
25
      </collision>
 
26
    </link>
 
27
    <gazebo reference="shadowarm_handsupport_muscle">
 
28
      <material>Gazebo/Grey</material>
 
29
      <selfCollide>true</selfCollide>
 
30
    </gazebo>
 
31
 
 
32
    <joint name="ElbowJRotate" type="revolute">
 
33
      <parent link="${parent}"/>
 
34
      <child link="shadowarm_handsupport_muscle"/>
 
35
      <origin xyz="0.08 0 0.131" rpy="0 0 0" />
 
36
      <axis xyz="0 0 -1" />
 
37
      <limit lower="-${M_PI/2}" upper="${M_PI/2}"
 
38
      effort="10" velocity="1.0"/>
 
39
      <dynamics damping="10.5"/>
 
40
    </joint>
 
41
 
 
42
    <xacro:shadowarm_handsupport_muscle_transmission />
 
43
 
 
44
  </xacro:macro>
 
45
 
 
46
</robot>