forked from robotology/walking-teleoperation
-
Notifications
You must be signed in to change notification settings - Fork 1
/
DCM_WALKING_COORDINATOR_+_RETARGETING.xml
165 lines (139 loc) · 4.44 KB
/
DCM_WALKING_COORDINATOR_+_RETARGETING.xml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!-- Copyright (C) 2018 Fondazione Istituto Italiano di Tecnologia (IIT) -->
<!-- All Rights Reserved. -->
<!-- Author: Giulio Romualdi <[email protected]> -->
<application>
<name>DCM walking coordinator + retargeting</name>
<description>2D-DCM walking application.</description>
<version>1.0</version>
<authors>
<author email="[email protected]">Giulio Romualdi</author>
<author email="[email protected]">Yue Hu</author>
</authors>
<!-- Devices -->
<module>
<name>yarpdev</name>
<parameters> --from camera/ServerGrabberDualDragon.ini --split true</parameters>
<node>icub-head</node>
</module>
<module>
<name>camCalibWithPose</name>
<parameters>--context cameraCalibration --from icubEyes.ini --group CAMERA_CALIBRATION_LEFT --name /icub/camcalib/left --useIMU</parameters>
<node>icub30</node>
</module>
<module>
<name>camCalibWithPose</name>
<parameters>--context cameraCalibration --from icubEyes.ini --group CAMERA_CALIBRATION_RIGHT --name /icub/camcalib/right --useIMU</parameters>
<node>icub30</node>
</module>
<module>
<name>yarpdev</name>
<parameters>--device transformServer --ROS::enable_ros_publisher 0 --ROS::enable_ros_subscriber 0</parameters>
<node>icub-virtualizer</node>
</module>
<module>
<name>yarpdev</name>
<parameters> --device JoypadControlServer --use_separate_ports 1 --period 10 --name /joypadDevice/Oculus --subdevice ovrheadset --sticks 0 --tfDevice transformClient --tfLocal /oculustf --tfRemote /transformServer --tf_left_hand_frame loculus --tf_right_hand_frame roculus --tf_root_frame oculusworld --stick_as_axis true --gui_elements 0</parameters>
<node>icub-virtualizer</node>
</module>
<!-- Modules -->
<module>
<name>WalkingModule</name>
<node>icub-head</node>
</module>
<!-- <module>
<name>WalkingLogger</name>
<node>icub30</node>
</module> -->
<module>
<name>VirtualizerModule</name>
<node>icub-virtualizer</node>
<parameters> --context virtualizerRetargeting </parameters>
</module>
<module>
<name>OculusRetargetingModule</name>
<node>icub-virtualizer</node>
<dependencies>
<port timeout="5">/joypadDevice/Oculus/buttons:o</port>
</dependencies>
</module>
<!-- Connections -->
<!-- Hand retargeting -->
<connection>
<from>/oculusRetargeting/leftHandPose:o</from>
<to>/walking-coordinator/leftHandDesiredPose:i</to>
</connection>
<connection>
<from>/oculusRetargeting/rightHandPose:o</from>
<to>/walking-coordinator/rightHandDesiredPose:i</to>
</connection>
<!-- Virtualizer and Oculus -->
<connection>
<from>/walking-coordinator/torsoYaw:o</from>
<to>/virtualizer/robotOrientation:i</to>
</connection>
<connection>
<from>/virtualizer/rpc:o</from>
<to>/walking-coordinator/rpc</to>
</connection>
<connection>
<from>/virtualizer/playerOrientation:o</from>
<to>/oculusRetargeting/playerOrientation:i</to>
</connection>
<connection>
<from>/joypadDevice/Oculus/buttons:o</from>
<to>/oculusRetargeting/joypadOculus:i</to>
</connection>
<connection>
<from>/oculus/headpose/orientation:o</from>
<to>/oculusRetargeting/oculusOrientation:i</to>
</connection>
<!-- <connection>
<from>/walking-coordinator/logger/data:o</from>
<to>/walking-coordinator/data:i</to>
</connection>
<connection>
<from>/walking-coordinator/logger/rpc:o</from>
<to>/logger/rpc:i</to>
</connection> -->
<!-- Camera-->
<connection>
<from>/icub/cam/left</from>
<to>/icub/camcalib/left/in</to>
<protocol>mjpeg</protocol>
</connection>
<connection>
<from>/icub/cam/right</from>
<to>/icub/camcalib/right/in</to>
<protocol>mjpeg</protocol>
</connection>
<connection>
<from>/icub/head/state:o</from>
<to>/icub/camcalib/left/head_encs/in</to>
<protocol>udp</protocol>
</connection>
<connection>
<from>/icub/head/state:o</from>
<to>/icub/camcalib/right/head_encs/in</to>
<protocol>udp</protocol>
</connection>
<connection>
<from>/icub/inertial</from>
<to>/icub/camcalib/left/imu/in</to>
<protocol>udp</protocol>
</connection>
<connection>
<from>/icub/inertial</from>
<to>/icub/camcalib/right/imu/in</to>
<protocol>udp</protocol>
</connection>
<connection>
<from>/icub/camcalib/left/out</from>
<to>/oculus/display/left:i</to>
<protocol>mjpeg</protocol>
</connection>
<connection>
<from>/icub/camcalib/right/out</from>
<to>/oculus/display/right:i</to>
<protocol>mjpeg</protocol>
</connection>
</application>