~shadowrobot/sr-ros-interface/trunk

« back to all changes in this revision

Viewing changes to sr_hand/launch/srh_muscle.launch

  • Committer: Ugo Cupcic
  • Date: 2012-07-23 14:42:29 UTC
  • Revision ID: ugo@shadowrobot.com-20120723144229-i8bc0yl6803v22zi
unified srh_motor.launch and srh_muscle.launch in the same file -> renamed forearm_muscle and forearm_motor to forearm only

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<launch>
2
 
  <group if="$(optenv LEFT_HAND 0)">
3
 
    <param name="sh_description" command="$(find xacro)/xacro.py '$(find sr_description)/robots/shadowhand_left_muscle.urdf.xacro'" />
4
 
  </group>
5
 
  <group unless="$(optenv LEFT_HAND 0)">
6
 
    <param name="sh_description" command="$(find xacro)/xacro.py '$(find sr_description)/robots/shadowhand_muscle.urdf.xacro'" />
7
 
  </group>
8
 
 
9
 
  <!-- shadowhand -->
10
 
  <node pkg="sr_hand" name="shadowhand"
11
 
        type="shadowhand_virtual" >
12
 
    <remap from="hand_description" to="sh_description"/>
13
 
    <param name="gazebo_joint_states_prefix" type="string" value="gazebo/" />
14
 
    <param name="shadowhand_prefix" type="string" value="srh/" />
15
 
    <param name="publish_frequency_diagnostics" type="double" value="1.0" />
16
 
    <param name="publish_frequency" type="double" value="20.0" />
17
 
  </node>
18
 
 
19
 
  <!-- Robot state publisher: publishes tf information regarding the
20
 
       position of the hand -->
21
 
  <node pkg="robot_state_publisher" type="state_publisher"
22
 
        name="srh_robot_state_publisher_pos">
23
 
    <remap from="robot_description" to="sh_description"/>
24
 
    <remap from="joint_states" to="srh/position/joint_states" />
25
 
    <param name="publish_frequency" type="double" value="10.0" />
26
 
    <param name="tf_prefix" type="string" value="srh/position" />
27
 
  </node>
28
 
 
29
 
  <!-- Robot state publisher: publishes tf information regarding the
30
 
       targets of the hand -->
31
 
  <node pkg="robot_state_publisher" type="state_publisher"
32
 
        name="srh_robot_state_publisher_target">
33
 
    <remap from="robot_description" to="sh_description"/>
34
 
    <remap from="joint_states" to="srh/target/joint_states" />
35
 
    <param name="publish_frequency" type="double" value="1.0" />
36
 
    <param name="tf_prefix" type="string" value="srh/target" />
37
 
  </node>
38
 
 
39
 
  <node pkg="tf" type="static_transform_publisher" name="fixed_frame_pos_pub" args="0 0 0 0 0 0 /srh/position/forearm_muscle fixed 100" />
40
 
  <node pkg="tf" type="static_transform_publisher" name="fixed_frame_target_pub" args="0 0 0 0 0 0 fixed /srh/target/forearm_muscle 100" />
41
 
 
42
 
 
43
 
  <node pkg="diagnostic_aggregator" type="aggregator_node"
44
 
        name="diagnostic_aggregator" >
45
 
    <!-- Load the file you made above -->
46
 
    <rosparam command="load"
47
 
              file="$(find sr_hand)/shadowhand_analyzer.yaml" />
48
 
  </node>
49
 
</launch>
50
 
 
51