-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsimple_head.launch
36 lines (31 loc) · 1.4 KB
/
simple_head.launch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<launch>
<!-- Start the Dynamixel Controller -->
<node name="dynamixel_manager" pkg="dynamixel_controllers" type="controller_manager.py" required="true" output="screen">
<rosparam file="$(find simple_head)/config/manager.yaml" command="load" />
</node>
<rosparam file="$(find simple_head)/config/dof_controllers.yaml" command="load"/>
<!-- Start Joint Position Controllers for each DoF -->
<node name="ctrl_spawner" pkg="dynamixel_controllers" type="controller_spawner.py"
args="--manager=dxl_manager
--port=head_port
neck_pan_controller
neck_tilt_controller
head_tilt_controller
head_roll_controller"
output="screen" />
<!-- Start Meta Controllers for the whole Head -->
<node name="meta_spawner" pkg="dynamixel_controllers" type="controller_spawner.py"
args="--manager=dxl_manager
--port=head_port
--type=meta
head_controller
neck_pan_controller
neck_tilt_controller
head_tilt_controller
head_roll_controller"
output="screen"/>
<!-- Start the Pose Goer -->
<node name="poser" pkg="simple_head" type="pose_goer.py" output="screen">
<rosparam file="$(find simple_head)/config/poses.yaml" command="load" />
</node>
</launch>