~ugocupcic/sr-ros-interface/manipulation

« back to all changes in this revision

Viewing changes to shadow_robot/sr_hand/launch/sr_arm_muscle.launch

  • Committer: Ugo Cupcic
  • Date: 2011-05-23 15:44:05 UTC
  • mfrom: (119.1.67 sr-ros-interface)
  • Revision ID: ugo@shadowrobot.com-20110523154405-kwvv543sy9wxehzi
Huge merge from trunk. Lots of changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
 
7
7
  <!--
8
 
           shadowarm 
 
8
           shadowarm
9
9
                        -->
10
10
  <node pkg="sr_hand" name="shadowarm"
11
11
        type="shadowarm_virtual" >
14
14
    <param name="gazebo_joint_states_prefix" type="string" value="gazebo/" />
15
15
    <param name="publish_frequency_diagnostics" type="double" value="1.0" />
16
16
    <param name="publish_frequency" type="double" value="20.0" />
17
 
  </node> 
18
 
  <!-- Robot state publisher: publishes tf information regarding the 
 
17
  </node>
 
18
  <!-- Robot state publisher: publishes tf information regarding the
19
19
       positions of the arm -->
20
20
  <node pkg="robot_state_publisher" type="state_publisher"
21
 
        name="robot_state_publisher_pos_arm">      
 
21
        name="robot_state_publisher_pos_arm">
22
22
    <remap from="robot_description" to="arm_description"/>
23
23
    <remap from="joint_states" to="/sr_arm/position/joint_states" />
24
24
    <param name="publish_frequency" type="double" value="10.0" />
25
25
    <param name="tf_prefix" type="string" value="sr_arm/position" />
26
26
  </node>
27
27
 
28
 
  <!-- Robot state publisher: publishes tf information regarding the 
 
28
  <!-- Robot state publisher: publishes tf information regarding the
29
29
       targets of the arm -->
30
30
  <node pkg="robot_state_publisher" type="state_publisher"
31
 
        name="robot_state_publisher_target_arm">      
 
31
        name="robot_state_publisher_target_arm">
32
32
    <remap from="robot_description" to="arm_description"/>
33
33
    <remap from="joint_states" to="sr_arm/target/joint_states" />
34
34
    <param name="publish_frequency" type="double" value="1.0" />
38
38
 
39
39
 
40
40
  <!--
41
 
           shadowhand 
 
41
           shadowhand
42
42
                         -->
43
43
  <node pkg="sr_hand" name="shadowhand"
44
44
        type="shadowhand_virtual" >
49
49
    <param name="publish_frequency" type="double" value="20.0" />
50
50
  </node>
51
51
 
52
 
  <!-- Robot state publisher: publishes tf information regarding the 
 
52
  <!-- Robot state publisher: publishes tf information regarding the
53
53
       position of the hand -->
54
54
  <node pkg="robot_state_publisher" type="state_publisher"
55
 
        name="srh_robot_state_publisher_pos">      
 
55
        name="srh_robot_state_publisher_pos">
56
56
    <remap from="robot_description" to="hand_description"/>
57
57
    <remap from="joint_states" to="srh/position/joint_states" />
58
58
    <param name="publish_frequency" type="double" value="10.0" />
59
59
    <param name="tf_prefix" type="string" value="srh/position" />
60
60
  </node>
61
61
 
62
 
  <!-- Robot state publisher: publishes tf information regarding the 
 
62
  <!-- Robot state publisher: publishes tf information regarding the
63
63
       targets of the hand -->
64
64
  <node pkg="robot_state_publisher" type="state_publisher"
65
 
        name="srh_robot_state_publisher_target">      
 
65
        name="srh_robot_state_publisher_target">
66
66
    <remap from="robot_description" to="hand_description"/>
67
67
    <remap from="joint_states" to="srh/target/joint_states" />
68
68
    <param name="publish_frequency" type="double" value="1.0" />
72
72
 
73
73
  <!--
74
74
     publishes fixed transform: to link the arm and the hand
75
 
     for both targets and positions + a fixed transform to a fixed 
76
 
     point at 0 0 0, to remap the arm base for both positions and 
 
75
     for both targets and positions + a fixed transform to a fixed
 
76
     point at 0 0 0, to remap the arm base for both positions and
77
77
     targets.
78
78
                                                                    -->
79
 
  <node pkg="tf" type="static_transform_publisher" name="fixed_frame_pos_pub_arm" args="0 0 0 0 0 0 fixed /sr_arm/position/world 100" />
80
 
  <node pkg="tf" type="static_transform_publisher" name="fixed_frame_target_pub_arm" args="0 0 0 0 0 0 fixed /sr_arm/target/world 100" /> 
81
 
 
82
 
  <node pkg="tf" type="static_transform_publisher" name="link_hand_arm_pos" args="0 0 0 -1.571 3.141 -1.571 /sr_arm/position/shadowarm_handsupport_muscle /srh/position/forearm_muscle 100" />
83
 
  <node pkg="tf" type="static_transform_publisher" name="link_hand_arm_target" args="0 0 0 -1.571 3.141 -1.571 /sr_arm/target/shadowarm_handsupport_muscle /srh/target/forearm_muscle 100" />
84
 
  
85
 
  
 
79
  <node pkg="tf" type="static_transform_publisher" name="fixed_frame_pos_pub_arm" args="0 0 0 0 0 0 fixed /sr_arm/position/shadowarm_base 100" />
 
80
  <node pkg="tf" type="static_transform_publisher" name="fixed_frame_target_pub_arm" args="0 0 0 0 0 0 fixed /sr_arm/target/shadowarm_base 100" />
 
81
 
 
82
 <node pkg="tf" type="static_transform_publisher" name="link_hand_arm_pos" args="0 0 0 3.14159 0 0 /sr_arm/position/shadowarm_handsupport_muscle /srh/position/forearm_muscle 100" />
 
83
  <node pkg="tf" type="static_transform_publisher" name="link_hand_arm_target" args="0 0 0 3.14159 0 0 /sr_arm/target/shadowarm_handsupport_muscle /srh/target/forearm_muscle 100" />
 
84
 
86
85
  <!--
87
86
     Diagnostic Aggregator
88
87
                          -->
89
 
  
 
88
 
90
89
  <node pkg="diagnostic_aggregator" type="aggregator_node"
91
90
        name="sr_diagnostic_aggregator" >
92
 
    <rosparam command="load" 
 
91
    <rosparam command="load"
93
92
              file="$(find sr_hand)/shadowhand_analyzer.yaml" />
94
93
  </node>
95
94
</launch>